Skip to content

Commit 6530662

Browse files
committed
Use content-hashed based image tag
1 parent b9b6b96 commit 6530662

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/e2e.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -178,13 +178,13 @@ jobs:
178178
179179
- name: Pull base image from GHCR
180180
if: needs.discover.outputs.is_fork != 'true'
181-
run: docker pull ${{ env.BASE_IMAGE }}:latest
181+
run: docker pull ${{ needs.build-base.outputs.image }}
182182

183183
- name: Run E2E tests for ${{ matrix.library }}
184184
env:
185185
DOCKER_DEFAULT_PLATFORM: linux/amd64
186-
# Use GHCR image for non-forks, local image for forks
187-
BASE_IMAGE: ${{ needs.discover.outputs.is_fork == 'true' && 'python-e2e-base:latest' || format('{0}:latest', env.BASE_IMAGE) }}
186+
# Use content-hashed GHCR image for non-forks, local image for forks
187+
BASE_IMAGE: ${{ needs.discover.outputs.is_fork == 'true' && 'python-e2e-base:latest' || needs.build-base.outputs.image }}
188188
run: |
189189
chmod +x ./drift/instrumentation/${{ matrix.library }}/e2e-tests/run.sh
190190
cd ./drift/instrumentation/${{ matrix.library }}/e2e-tests && ./run.sh 8000

0 commit comments

Comments
 (0)