File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -69,23 +69,26 @@ jobs:
6969 persist-credentials : false
7070 - name : Build Image
7171 if : steps.check-image.outputs.exists == 'false'
72+ env :
73+ # for PR builds, ${{ github.sha }} is the temporary merge commit, we want the head commit instead
74+ SN_SHA : ${{ github.event.pull_request.head.sha || github.sha }}
7275 uses : smartcontractkit/.github/actions/ctf-build-image@1d86ef6568d0830d212fc0091d352170dae07dc7 # v1.2.0
7376 with :
7477 platform : " linux/arm64"
7578 dockerfile : plugins/chainlink.Dockerfile
7679 plugin-manifest-overrides : |
77- starknet=${{ github.event.pull_request.head.sha || github.sha }}
80+ starknet=${{ env.SN_SHA }}
7881 # registry info
7982 docker-registry-url : ${{ env.CL_ECR }}
8083 docker-repository-name : chainlink
81- image-tag : starknet.${{ github.sha }}
84+ image-tag : starknet.${{ env.SN_SHA }}
8285 aws-region : ${{ secrets.QA_AWS_REGION }}
8386 aws-role-arn : ${{ secrets.QA_AWS_ROLE_TO_ASSUME }}
8487 aws-account-number : ${{ secrets.QA_AWS_ACCOUNT_NUMBER }}
8588 - name : Print Chainlink Image Built
8689 run : |
8790 echo "### chainlink image tag used for this test run :link:" >> $GITHUB_STEP_SUMMARY
88- echo "\`starknet.${{ github.sha }}\`" >> $GITHUB_STEP_SUMMARY
91+ echo "\`starknet.${{ env.SN_SHA }}\`" >> $GITHUB_STEP_SUMMARY
8992
9093 build_test_image :
9194 environment : integration
You can’t perform that action at this time.
0 commit comments