We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4e7c93f commit 42d303eCopy full SHA for 42d303e
1 file changed
.github/workflows/stage-3-build-images-devtest.yaml
@@ -115,9 +115,10 @@ jobs:
115
env:
116
GH_TOKEN: ${{ github.token }}
117
run: |
118
- PR_INFO=$(gh api repos/${{ github.repository }}/commits/${{ github.sha }}/pulls --jq '.[0].number')
119
120
- PR_NUM_TAG=$(echo "$PR_INFO" | jq -r '.number')
+ echo "The branch is: ${GITHUB_REF}"
+ PR_NUM=$(gh api repos/${{ github.repository }}/commits/${{ github.sha }}/pulls --jq '.[0].number')
121
+ PR_NUM_TAG="pr${PR_NUM}"
122
SHORT_COMMIT_HASH=$(git rev-parse --short ${GITHUB_SHA})
123
124
docker build -f Dockerfile.dotnet.base -t cohort-manager-dotnet-base:latest .
0 commit comments