Skip to content

Commit

Permalink
🎨 (ci): Simplify git ref check
Browse files Browse the repository at this point in the history
  • Loading branch information
gabe565 committed Jan 6, 2023
1 parent 316500c commit ff08466
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
images: |
ghcr.io/gabe565/domain-watch
tags: |
type=raw,priority=1000,value=latest,enable=${{ github.ref == format('refs/heads/{0}', 'main') }}
type=raw,priority=1000,value=latest,enable=${{ github.ref == 'refs/heads/main' }}
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
type=semver,pattern={{major}}
Expand Down

0 comments on commit ff08466

Please sign in to comment.