diff --git a/.github/workflows/deploy-production.yml b/.github/workflows/deploy-production.yml index 93b6ebc..653e69f 100644 --- a/.github/workflows/deploy-production.yml +++ b/.github/workflows/deploy-production.yml @@ -31,8 +31,10 @@ jobs: - name: Get Image Metadata from Release uses: dsaltares/fetch-gh-release-asset@master + env: + tag_ref: tags/${{ github.ref_name }} with: - version: ${{ github.event.release.id || github.ref_name }} + version: ${{ github.event.release.id || env.tag_ref }} file: metadata.json - name: Set Image Digest from Metadata