attester-image-push: Fix container tag naming (#456)

This commit is contained in:
Stanisław Drozd
2023-01-05 16:59:01 +01:00
committed by GitHub
parent 682e97c61c
commit 2a0350bb5f

View File

@@ -20,7 +20,7 @@ jobs:
- name: Set image tag to version of the git tag
if: ${{ startsWith(github.ref, 'refs/tags/pyth-wormhole-attester-v') }}
run: |
PREFIX="refs/tags/pyth-attester-"
PREFIX="refs/tags/pyth-wormhole-attester-"
VERSION="${GITHUB_REF:${#PREFIX}}"
echo "IMAGE_TAG=${VERSION}" >> "${GITHUB_ENV}"
- name: Set image tag to the git commit hash