Skip to content

Commit

Permalink
Only use latest on pushing vx.x.x. tags, not test ones
Browse files Browse the repository at this point in the history
  • Loading branch information
pSpitzner committed Nov 9, 2024
1 parent 6535fea commit 80b5246
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/docker_hub.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,10 @@ jobs:
# generate Docker tags based on the following events/attributes
tags: |
type=ref,event=tag
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
type=semver,pattern={{major}}
type=semver,pattern={{raw}}
type=sha
type=raw,value=latest,enable={{is_default_branch}}
type=raw,value=latest,enable={{contains(github.ref, 'refs/tags/v')}}
# type=raw,value=latest,enable={{is_default_branch}}

- name: Checkout
uses: actions/checkout@v4
Expand Down

0 comments on commit 80b5246

Please sign in to comment.