From 9d5dd742a70e82c0813c34f57982f9507f1b6d5d Mon Sep 17 00:00:00 2001 From: qarlosalberto Date: Mon, 14 Oct 2024 16:12:36 +0200 Subject: [PATCH] ci: fix docker release name --- .github/workflows/docker.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index c93644cb2d..82e64c42fc 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -107,7 +107,8 @@ jobs: run: | BRANCH_NAME="${GITHUB_REF#refs/heads/}" DATE_TAG="${GITHUB_SHA:0:10}__$(date +'%Y-%m-%d')" - RELEASE_NAME="${{ github.event.release.name }}" + RELEASE_NAME_INIT="${{ github.event.release.name }}" + RELEASE_NAME="${RELEASE_NAME_INIT##* }" if [ -n "$RELEASE_NAME" ]; then tags="${{ env.PREFIX }}-${DATE_TAG},${{ env.PREFIX }}-${RELEASE_NAME}"