Skip to content

Commit

Permalink
build: Attempt to only tag latest with builds started for the default…
Browse files Browse the repository at this point in the history
… branch

Issue #548
  • Loading branch information
jcormier committed Mar 6, 2024
1 parent 927734c commit c12ea89
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,13 @@ jobs:
sameersbn/redmine
quay.io/sameersbn/redmine
ghcr.io/sameersbn/redmine
flavor: |
latest=false
tags: |
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
latest
# set latest tag for default branch
type=raw,value=latest,enable={{is_default_branch}}
- name: Set up Docker Buildx
id: buildx
Expand Down

0 comments on commit c12ea89

Please sign in to comment.