Skip to content

Commit

Permalink
Set latest tag on master to 'latest'
Browse files Browse the repository at this point in the history
  • Loading branch information
aajimal committed Jun 6, 2024
1 parent 2f287a3 commit 6d432ae
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/reusable-docker-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,8 @@ jobs:
type=sha
# set latest tag for `main` branch
type=raw,value=latest,enable=${{ env.FULL_REF == format('refs/heads/{0}', 'main') }}
# set latest tag for `master` branch
type=raw,value=latest,enable=${{ env.FULL_REF == format('refs/heads/{0}', 'master') }}
# - name: Build and push
# uses: docker/build-push-action@v4
# with:
Expand Down

0 comments on commit 6d432ae

Please sign in to comment.