From 877134f8dae217fe1e307a72c041409783cfcddb Mon Sep 17 00:00:00 2001 From: EgorPopelyaev Date: Tue, 27 Feb 2024 15:52:51 +0100 Subject: [PATCH] hack version tag for the container --- .github/workflows/release-50_publish-docker.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release-50_publish-docker.yml b/.github/workflows/release-50_publish-docker.yml index ecbac01cd3a5..23572776fcc1 100644 --- a/.github/workflows/release-50_publish-docker.yml +++ b/.github/workflows/release-50_publish-docker.yml @@ -163,10 +163,9 @@ jobs: id: fetch_release_refs run: | chmod a+rx $BINARY - VERSION=$(./$BINARY --version | awk '{ print $2 }' ) - release=$( echo $VERSION | cut -f1 -d- ) + VERSION=${{ inputs.version }} echo "tag=latest" >> $GITHUB_OUTPUT - echo "release=${release}" >> $GITHUB_OUTPUT + echo "release=${VERSION}" >> $GITHUB_OUTPUT - name: Build Injected Container image for polkadot rc if: ${{ env.BINARY == 'polkadot' }}