From 1cb8f11ff71b96cdebb2d586d2d17998f6a86f99 Mon Sep 17 00:00:00 2001 From: Martin Schneppenheim Date: Thu, 24 Nov 2022 10:50:41 +0000 Subject: [PATCH] build: Fix condition for semver docker tag --- .github/workflows/docker-image.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/docker-image.yaml b/.github/workflows/docker-image.yaml index 4c9a993..ae62584 100644 --- a/.github/workflows/docker-image.yaml +++ b/.github/workflows/docker-image.yaml @@ -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