Skip to content

Commit

Permalink
build: Fix condition for semver docker tag
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Schneppenheim committed Nov 24, 2022
1 parent 3025881 commit 1cb8f11
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/docker-image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,10 @@ jobs:
images: |
vectorized/kminion
# generate Docker tags based on the following events/attributes
# Semver type is only active on 'push tag' events, hence no enable condition required
tags: |
type=sha,prefix={{branch}}-,format=short,enable={{is_default_branch}}
type=semver,pattern={{raw}},enable=${{ github.event.action == 'published' }}
type=semver,pattern={{raw}}
- name: Login to DockerHub
uses: docker/login-action@v2
Expand Down

0 comments on commit 1cb8f11

Please sign in to comment.