Skip to content

Commit

Permalink
Fix tag reference when building a git tag
Browse files Browse the repository at this point in the history
  • Loading branch information
juanluisrp committed Nov 3, 2022
1 parent 5a733c9 commit 326fca9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/docker-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:
type=semver,pattern=v{{major}}.{{minor}}
type=semver,pattern={{major}},enable=${{ !startsWith(github.ref, 'refs/tags/v0.') }}
type=raw,value=latest,enable=${{ github.ref == format('refs/heads/{0}', github.event.repository.default_branch) }}
type=raw,,value={{branch}}-{{sha}}
type=raw,event=branch,value={{branch}}-{{sha}}
-
name: Build image
uses: docker/build-push-action@v3
Expand Down

0 comments on commit 326fca9

Please sign in to comment.