Skip to content
This repository was archived by the owner on Mar 14, 2025. It is now read-only.

Commit 7c96af7

Browse files
authored
Use explicit test image tag (#1541)
## Motivation ## Solution
1 parent 1c3fad2 commit 7c96af7

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/ccip-offchain-upgrade-tests.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,8 @@ jobs:
113113
if: needs.changes.outputs.src == 'true' || github.event_name == 'workflow_dispatch'
114114
needs: [ changes ]
115115
environment: integration
116+
outputs:
117+
tag: ${{ steps.build-test-image.outputs.test_image_tag }}
116118
permissions:
117119
id-token: write
118120
contents: read
@@ -136,6 +138,7 @@ jobs:
136138
repository: smartcontractkit/ccip
137139
ref: ${{ github.event.pull_request.head.sha || github.sha }}
138140
- name: Build Test Image
141+
id: build-test-image
139142
if: needs.changes.outputs.src == 'true' || github.event_name == 'workflow_dispatch'
140143
uses: smartcontractkit/.github/actions/ctf-build-test-image@a5e4f4c8fbb8e15ab2ad131552eca6ac83c4f4b3 # [email protected]
141144
with:
@@ -249,7 +252,7 @@ jobs:
249252
env:
250253
BASE64_CONFIG_OVERRIDE: ${{ steps.set_override_config.outputs.base_64_override }},${{ steps.setup_create_base64_config_ccip.outputs.base64_config }}
251254
TEST_BASE64_CONFIG_OVERRIDE: ${{ steps.set_override_config.outputs.base_64_override }},${{ steps.setup_create_base64_config_ccip.outputs.base64_config }}
252-
ENV_JOB_IMAGE: ${{ env.ENV_JOB_IMAGE_BASE }}:${{ github.sha }}
255+
ENV_JOB_IMAGE: ${{ env.ENV_JOB_IMAGE_BASE }}:${{ needs.build-test-image.outputs.tag }}
253256
TEST_SUITE: smoke
254257
TEST_ARGS: -test.timeout 30m
255258
TEST_LOG_LEVEL: info

0 commit comments

Comments
 (0)