From e3fe37cd64a695968560411175c7339c3573ebc7 Mon Sep 17 00:00:00 2001 From: Bilel MEDIMEGH Date: Tue, 25 Jun 2024 00:36:31 +0200 Subject: [PATCH] Fix docker hub tag in link for releases --- .github/workflows/ci.yaml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 9ff09da9b..44b70be8c 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -276,7 +276,12 @@ jobs: - uses: actions/download-artifact@v4.1.7 with: path: assets - + - name: Write release tag without v + id: strip-v-tag + run: | + TAG=${GITHUB_REF_NAME#v} + echo Tag: $Tag + echo "::set-output name=tag::$TAG" - name: Create Release uses: softprops/action-gh-release@v2.0.6 with: @@ -293,7 +298,7 @@ jobs: ## DockerHub - * https://hub.docker.com/r/adorsys/keycloak-config-cli/tags?name=${{ github.ref_name }} + * https://hub.docker.com/r/adorsys/keycloak-config-cli/tags?name=${{ steps.strip-v-tag.outputs.tag }} ## Quay.io