We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ff17edc commit a16e95aCopy full SHA for a16e95a
.github/workflows/release-reproducible.yml
@@ -24,8 +24,7 @@ jobs:
24
# Get the tag that points to the head SHA of the triggering workflow
25
TAG=$(gh api /repos/${{ github.repository }}/git/refs/tags \
26
--jq '.[] | select(.object.sha == "${{ github.event.workflow_run.head_sha }}") | .ref' \
27
- | head -1 \
28
- | sed 's|refs/tags/||')
+ | head -1)
29
30
if [ -z "$TAG" ]; then
31
echo "No tag found for SHA ${{ github.event.workflow_run.head_sha }}"
@@ -47,7 +46,7 @@ jobs:
47
46
steps:
48
- uses: actions/checkout@v5
49
with:
50
- ref: ${{ github.event.workflow_run.head_sha }}
+ ref: ${{ needs.extract-version.outputs.VERSION }}
51
52
- name: Set up Docker Buildx
53
uses: docker/setup-buildx-action@v3
0 commit comments