Skip to content

Commit 7ea418d

Browse files
committed
fix
1 parent c005ca0 commit 7ea418d

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

.github/workflows/workflow-run-replay-verify-on-archive.yaml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,17 @@ on:
4040
type: string
4141
description: The end version to use for the backup. If not specified, it will use the latest version.
4242
jobs:
43+
44+
build-images:
45+
uses: aptos-labs/aptos-core/.github/workflows/workflow-run-docker-rust-build.yaml@jkao97/verify-and-build-images-for-workflows # TODO: change back to main
46+
with:
47+
GIT_SHA: ${{ env.GIT_SHA }}
48+
TARGET_CACHE_ID: ${{ github.ref_name }}
49+
4350
run-replay-verify:
4451
runs-on: ubuntu-latest-32-core # consider moving this to a smaller machien since the compute runs on GKE
4552
timeout-minutes: 420 # 7 hours
53+
needs: build-images
4654
steps:
4755
- name: Checkout code
4856
uses: actions/checkout@v4
@@ -51,12 +59,6 @@ jobs:
5159
# get the last 10 commits to find images that have been built
5260
# we can optionally use the IMAGE_TAG to find the exact commit to checkout
5361
fetch-depth: 10
54-
55-
- name: Build Docker images
56-
uses: aptos-labs/aptos-core/.github/workflows/workflow-run-docker-rust-build.yaml@main
57-
with:
58-
GIT_SHA: ${{ env.IMAGE_TAG }}
59-
TARGET_CACHE_ID: ${{ github.ref_name }}
6062

6163
- uses: aptos-labs/aptos-core/.github/actions/docker-setup@main
6264
id: docker-setup

0 commit comments

Comments
 (0)