diff --git a/.github/workflows/build-push-release.yml b/.github/workflows/build-push-release.yml index bb77ba4..f210bda 100644 --- a/.github/workflows/build-push-release.yml +++ b/.github/workflows/build-push-release.yml @@ -26,8 +26,10 @@ jobs: - name: Echo ${{ github.event.release.tag_name }} run: echo ${{ github.event.release.tag_name }} - - name: Write Tag to ENV variable - run: echo "LABEL_VERSION=${{ github.event.release.tag_name }}" >> $GITHUB_ENV + - name: Write version to ENV variable + run: + $TAG_NAME=${{ github.event.release.tag_name }} + echo "LABEL_VERSION=${TAG_NAME:1}" >> $GITHUB_ENV - name: Login to DockerHub uses: docker/login-action@v3