Skip to content

Commit 797b1f3

Browse files
committed
update sha
1 parent 168491b commit 797b1f3

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/integration-tests-smoke.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)