Skip to content

Commit

Permalink
Fix variable again
Browse files Browse the repository at this point in the history
  • Loading branch information
hooksie1 committed Nov 11, 2022
1 parent e23b497 commit 3c66c54
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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}}

0 comments on commit 3c66c54

Please sign in to comment.