From 4b2a7fdf2de67719609b62308233969674f59732 Mon Sep 17 00:00:00 2001 From: Timo Glastra Date: Sat, 30 Mar 2024 23:29:10 +0100 Subject: [PATCH] ci: fix publish script (#261) Signed-off-by: Timo Glastra --- .github/workflows/continuous-deployment.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/continuous-deployment.yml b/.github/workflows/continuous-deployment.yml index 7d608af..adac60e 100644 --- a/.github/workflows/continuous-deployment.yml +++ b/.github/workflows/continuous-deployment.yml @@ -39,8 +39,7 @@ jobs: images: ${{ env.IMAGE_NAME }} tags: | type=ref,event=branch - type=ref,event=tag,enable=${GITHUB_REF#refs/tags/rest-v*} - type=raw,value=${GITHUB_REF#refs/tags/rest-v},enable=${GITHUB_REF#refs/tags/rest-v*} + type=ref,event=tag type=raw,value=${{ inputs.tag }},enable=${{ github.event_name == 'workflow_dispatch' }} - name: Build and push Docker image