From 3c66c54691f68a18c5952941c89acdb90d475d68 Mon Sep 17 00:00:00 2001 From: John Hooks Date: Thu, 10 Nov 2022 21:21:21 -0500 Subject: [PATCH] Fix variable again --- .github/workflows/release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 07158a3..c824ffd 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -49,7 +49,7 @@ jobs: if: github.event_name == 'push' && contains(github.ref, 'refs/tags/') steps: - name: Get tag and hash - run: echo "SHORT_TAG=$(printf $(git describe --tags | cut -d '-' -f 1)-$(git rev-parse --short HEAD))" >> $GITHUB_ENV + run: echo "::set-output name=tag_hash::$(printf $(git describe --tags | cut -d '-' -f 1)-$(git rev-parse --short HEAD))" - name: Checkout uses: actions/checkout@v2 with: @@ -90,5 +90,5 @@ jobs: platforms: linux/amd64,linux/arm64 tags: | hooksie1/cmsnr:latest - hooksie1/cmsnr:${{SHORT_TAG}} + hooksie1/cmsnr:{{ steps.vars.outputs.tag_hash}}