Skip to content

Commit

Permalink
Update docker-image.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
BattlefieldDuck authored Nov 4, 2023
1 parent 9972ccb commit 2f2452c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,6 @@ jobs:
context: .
push: ${{ github.event_name != 'pull_request' }}
tags: |
# set latest tag for default branch
type=raw,value=latest,enable={{is_default_branch}}
# set latest tag for main branch
type=raw,value=latest,enable=${{ github.ref == format('refs/heads/{0}', 'main') }}
labels: ${{ steps.meta.outputs.labels }}

0 comments on commit 2f2452c

Please sign in to comment.