From 5d083df54902dba4abb91400732ccd82715fdd5a Mon Sep 17 00:00:00 2001 From: danellecline Date: Tue, 25 Jun 2024 18:19:06 -0700 Subject: [PATCH] ci: fix release version from tag --- .github/workflows/release.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8ccc530..f1b33b8 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -20,8 +20,9 @@ jobs: github_token: ${{ secrets.GITHUB_TOKEN }} - name: docker push version - if: steps.semantic.outputs.new-release-published == 'true' + if: steps.semantic.outputs.released == 'true' run: | + export RELEASE_VERSION=$(echo ${{ steps.semantic.outputs.tag }} | cut -c 2-) docker login -u ${{ secrets.DOCKERHUB_USERNAME }} -p ${{ secrets.DOCKERHUB_TOKEN }} docker buildx create --name mybuilder --platform linux/amd64,linux/arm64 --use cd docker && \