From 89aedd047e34546d55930b72a189caa5cd0bf5f9 Mon Sep 17 00:00:00 2001 From: Horst Gutmann Date: Mon, 15 Jul 2024 15:54:33 +0200 Subject: [PATCH] ci: Fix release pipeline (#173) --- .github/workflows/docker.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 45fe88b..70f438d 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -12,7 +12,7 @@ env: REGISTRY_IMAGE: ghcr.io/grafana/flagger-k6-webhook TAG_CONFIG: | type=raw,value=latest,enable=${{ github.ref == 'refs/heads/main' && github.event_name == 'push' }} - type=raw,value={{tag}},enable=${{ github.ref == 'refs/tags' && github.event_name == 'push' }} + type=raw,value={{tag}},enable=${{ startsWith(github.ref, 'refs/tags/') && github.event_name == 'push' }} type=sha,enable=${{ github.event_name == 'pull_request' }} jobs: