Skip to content

Commit

Permalink
correct error in GitHub Actions on tag push
Browse files Browse the repository at this point in the history
  • Loading branch information
briskt authored Jun 13, 2024
1 parent c517415 commit d36ee7b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ jobs:
with:
images: ${{ vars.DOCKER_ORG }}/${{ github.event.repository.name }}
tags: |
type=ref,event=branch,enable=${{ github.ref_name != 'main' }}
type=ref,event=branch
type=ref,event=tag
# set latest tag for main
type=raw,value=latest,enable=${{ github.ref_name == 'main' }}
Expand Down

0 comments on commit d36ee7b

Please sign in to comment.