Skip to content

Commit c4d5bf3

Browse files
committed
Delete base-images before pulling all image artifacts
1 parent 4ef6f04 commit c4d5bf3

1 file changed

Lines changed: 7 additions & 8 deletions

File tree

.github/workflows/build-container-images.yml

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -261,13 +261,6 @@ jobs:
261261
name: base-images
262262
path: ${{ runner.temp }}
263263

264-
- name: Delete base image artifacts
265-
if: ${{ !inputs.skipBasePull }}
266-
uses: GeekyEggo/delete-artifact@v5.1.0
267-
with:
268-
name: base-images
269-
failOnError: false
270-
271264
- name: Load base images
272265
if: ${{ !inputs.skipBasePull }}
273266
run: |
@@ -348,7 +341,13 @@ jobs:
348341
echo "::add-mask::$role_arn"
349342
echo "role-arn=$role_arn" >> "$GITHUB_OUTPUT"
350343
351-
- name: Download all image artifacts
344+
- name: Delete base-images artifact
345+
uses: GeekyEggo/delete-artifact@v5.1.0
346+
with:
347+
name: base-images
348+
failOnError: false
349+
350+
- name: Download all built image artifacts
352351
uses: actions/download-artifact@v4
353352
with:
354353
path: ${{ runner.temp }}

0 commit comments

Comments
 (0)