Skip to content

Commit

Permalink
Include latest tag
Browse files Browse the repository at this point in the history
  • Loading branch information
Serubin committed Feb 28, 2024
1 parent 5e83c5b commit 6ec3987
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,9 @@ jobs:
uses: docker/[email protected]
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
tags: type=sha,enable=true,priority=100,prefix=,suffix=,format=short
tags: |
type=sha,enable=true,priority=100,prefix=,suffix=,format=short
type=raw,value=latest,enable=${{ github.ref == format('refs/heads/{0}', 'master') }}
- name: Build and push Docker image
uses: docker/[email protected]
Expand Down

0 comments on commit 6ec3987

Please sign in to comment.