We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 42d303e commit a15c423Copy full SHA for a15c423
1 file changed
.github/workflows/stage-3-build-images-devtest.yaml
@@ -142,7 +142,8 @@ jobs:
142
id: set-image-tags
143
run: |
144
145
- PR_NUM_TAG=$(echo "${GITHUB_REF}" | sed 's/refs\/pull\/\([0-9]*\)\/merge/\1/')
+ PR_NUM=$(gh api repos/${{ github.repository }}/commits/${{ github.sha }}/pulls --jq '.[0].number')
146
+ PR_NUM_TAG="pr${PR_NUM}"
147
IMAGE_TAG="latest"
148
149
if [[ ${{steps.detect-base-image-changes.outputs.BASE_IMAGE_CHANGE}} == 'true' ]]; then
0 commit comments