Skip to content

Commit 1cb8f11

Browse files
author
Martin Schneppenheim
committed
build: Fix condition for semver docker tag
1 parent 3025881 commit 1cb8f11

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/docker-image.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,10 @@ jobs:
3636
images: |
3737
vectorized/kminion
3838
# generate Docker tags based on the following events/attributes
39+
# Semver type is only active on 'push tag' events, hence no enable condition required
3940
tags: |
4041
type=sha,prefix={{branch}}-,format=short,enable={{is_default_branch}}
41-
type=semver,pattern={{raw}},enable=${{ github.event.action == 'published' }}
42+
type=semver,pattern={{raw}}
4243
4344
- name: Login to DockerHub
4445
uses: docker/login-action@v2

0 commit comments

Comments
 (0)