Skip to content

Commit 42d303e

Browse files
committed
feat: skip testing and deployment
1 parent 4e7c93f commit 42d303e

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

.github/workflows/stage-3-build-images-devtest.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,9 +115,10 @@ jobs:
115115
env:
116116
GH_TOKEN: ${{ github.token }}
117117
run: |
118-
PR_INFO=$(gh api repos/${{ github.repository }}/commits/${{ github.sha }}/pulls --jq '.[0].number')
119118
120-
PR_NUM_TAG=$(echo "$PR_INFO" | jq -r '.number')
119+
echo "The branch is: ${GITHUB_REF}"
120+
PR_NUM=$(gh api repos/${{ github.repository }}/commits/${{ github.sha }}/pulls --jq '.[0].number')
121+
PR_NUM_TAG="pr${PR_NUM}"
121122
SHORT_COMMIT_HASH=$(git rev-parse --short ${GITHUB_SHA})
122123
123124
docker build -f Dockerfile.dotnet.base -t cohort-manager-dotnet-base:latest .

0 commit comments

Comments
 (0)