Skip to content

Commit 57bedab

Browse files
authored
Make docker tag-push depend on contributed recipes in CI (#2282)
1 parent d0d9208 commit 57bedab

File tree

1 file changed

+12
-10
lines changed

1 file changed

+12
-10
lines changed

Diff for: .github/workflows/docker.yml

+12-10
Original file line numberDiff line numberDiff line change
@@ -336,6 +336,16 @@ jobs:
336336
needs: x86_64-pyspark
337337
if: ${{ !contains(github.event.pull_request.title, '[FAST_BUILD]') }}
338338

339+
contributed-recipes:
340+
uses: ./.github/workflows/contributed-recipes.yml
341+
with:
342+
called-using-workflow-call: true
343+
# Contributed recipes only use these images
344+
# If recipes using other images will be added, they should be added here as well
345+
#
346+
# contributed-recipes will give an error if the image is not yet built and uploaded
347+
needs: [aarch64-base, x86_64-base, aarch64-minimal, x86_64-minimal]
348+
339349
tag-push:
340350
uses: ./.github/workflows/docker-tag-push.yml
341351
with:
@@ -370,6 +380,8 @@ jobs:
370380
variant: cuda12
371381
needs:
372382
[
383+
contributed-recipes,
384+
373385
aarch64-foundation,
374386
aarch64-base,
375387
aarch64-minimal,
@@ -425,13 +437,3 @@ jobs:
425437
uses: ./.github/workflows/docker-wiki-update.yml
426438
needs: tag-push-fast
427439
if: contains(github.event.pull_request.title, '[FAST_BUILD]')
428-
429-
contributed-recipes:
430-
uses: ./.github/workflows/contributed-recipes.yml
431-
with:
432-
called-using-workflow-call: true
433-
# Contributed recipes only use these images
434-
# If recipes using other images will be added, they should be added here as well
435-
#
436-
# contributed-recipes will give an error if the image is not yet built and uploaded
437-
needs: [aarch64-base, x86_64-base, aarch64-minimal, x86_64-minimal]

0 commit comments

Comments
 (0)