Skip to content

Commit

Permalink
Merge pull request #175 from redpanda-data/fix-docker-tag-condition-i…
Browse files Browse the repository at this point in the history
…n-build-pipeline

build: Fix condition for semver docker tag
  • Loading branch information
weeco authored Nov 24, 2022
2 parents 3025881 + 1cb8f11 commit cdd8e59
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 cdd8e59

Please sign in to comment.