Skip to content

Commit

Permalink
Github Actions
Browse files Browse the repository at this point in the history
Fixed conditionals for dev and latest tags
  • Loading branch information
Salvoxia committed Sep 25, 2024
1 parent f1866a9 commit 3c08451
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,11 @@ jobs:
# set edge tag for default branch
type=edge,enable={{is_default_branch}}
# set dev tag for dev branch
type=raw,value=dev,enable=true,branch=dev
type=raw,value=dev,enable=${{ github.ref == format('refs/heads/{0}', 'dev') }},branch=dev
# Tags for non SemVer tag names
type=match,pattern=([0-9]+.*),group=1
# latest tag for any tags
type=raw,value=latest,event=tag
type=raw,value=latest,enable=${{ startsWith(github.ref, 'refs/tags/') }},event=tag
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
Expand Down

0 comments on commit 3c08451

Please sign in to comment.