From abe27692960d6c73bb7b8a71e92584b2c81e3054 Mon Sep 17 00:00:00 2001 From: Itay Grudev Date: Wed, 21 Feb 2024 23:29:03 +0200 Subject: [PATCH] Bug Fix: cosign step not correctly extracting tag version Signed-off-by: Itay Grudev --- .github/workflows/release-publish.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release-publish.yml b/.github/workflows/release-publish.yml index 0645ed7e1c..d2451f81eb 100644 --- a/.github/workflows/release-publish.yml +++ b/.github/workflows/release-publish.yml @@ -66,6 +66,6 @@ jobs: file=${pkg##*/} name=${file%-*} version=${file%.*} - version=${version#*-} + version=${version##*-} cosign sign ghcr.io/"${GITHUB_REPOSITORY_OWNER}"/charts/"${name}":"${version}" done