Skip to content

Commit 4c2c750

Browse files
committed
merge artifacts in finalize job
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
1 parent 408d912 commit 4c2c750

File tree

3 files changed

+18
-3
lines changed

3 files changed

+18
-3
lines changed

.github/workflows/bake.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -746,6 +746,14 @@ jobs:
746746
});
747747
}
748748
}
749+
-
750+
name: Merge artifacts
751+
if: ${{ inputs.output == 'local' }}
752+
uses: actions/upload-artifact/merge@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
753+
with:
754+
name: ${{ inputs.artifact-name }}
755+
pattern: ${{ inputs.artifact-name }}*
756+
delete-merged: true
749757
-
750758
name: Set outputs
751759
id: set

.github/workflows/build.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -639,6 +639,14 @@ jobs:
639639
});
640640
}
641641
}
642+
-
643+
name: Merge artifacts
644+
if: ${{ inputs.output == 'local' }}
645+
uses: actions/upload-artifact/merge@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
646+
with:
647+
name: ${{ inputs.artifact-name }}
648+
pattern: ${{ inputs.artifact-name }}*
649+
delete-merged: true
642650
-
643651
name: Set outputs
644652
id: set

.github/workflows/verify.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,12 +51,11 @@ jobs:
5151
with:
5252
registry-auth: ${{ secrets.registry-auths }}
5353
-
54-
name: Download artifact
54+
name: Download artifacts
5555
if: ${{ steps.vars.outputs.output-type == 'local' }}
5656
uses: actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7.0.0
5757
with:
58-
pattern: ${{ steps.vars.outputs.artifact-name }}*
59-
merge-multiple: true
58+
name: ${{ steps.vars.outputs.artifact-name }}
6059
-
6160
name: Verify signatures
6261
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0

0 commit comments

Comments
 (0)