diff --git a/.github/workflows/retag-release.yaml b/.github/workflows/retag-release.yaml index a35c0a21a0..cd54f0e40d 100644 --- a/.github/workflows/retag-release.yaml +++ b/.github/workflows/retag-release.yaml @@ -44,7 +44,7 @@ jobs: - name: Create variables id: vars run: | - echo "tag=$(echo '${{ github.ref_name }}' | sed -nE 's/.*([0-9]+\.[0-9]+\.[0-9]+).*/\1/p')" >> $GITHUB_OUTPUT + echo "tag=$(echo $GITHUB_HEAD_REF | sed -nE 's/.*([0-9]+\.[0-9]+\.[0-9]+).*/\1/p')" >> $GITHUB_OUTPUT - name: Set up QEMU uses: docker/setup-qemu-action@v2