diff --git a/.github/workflows/build-push-release.yml b/.github/workflows/build-push-release.yml index 93d3f42..c848779 100644 --- a/.github/workflows/build-push-release.yml +++ b/.github/workflows/build-push-release.yml @@ -12,9 +12,12 @@ jobs: - name: Checkout uses: actions/checkout@v2 + - + name: Echo ${GITHUB_REF_NAME} + run: echo ${GITHUB_REF_NAME:1} - name: Write Tag to ENV variable - run: echo "LABEL_VERSION=${{ github.event.release.tag_name:1 }}" >> $GITHUB_ENV + run: echo "LABEL_VERSION=${GITHUB_REF_NAME:1}" >> $GITHUB_ENV - name: Login to DockerHub uses: docker/login-action@v1