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}}