File tree Expand file tree Collapse file tree 4 files changed +22
-7
lines changed
Expand file tree Collapse file tree 4 files changed +22
-7
lines changed Original file line number Diff line number Diff line change @@ -313,7 +313,7 @@ jobs:
313313 with :
314314 output : local
315315 push : ${{ github.event_name != 'pull_request' }}
316- artifact-name : build-output- single
316+ artifact-name : build-single-output
317317 build-file : test/hello.Dockerfile
318318 build-sbom : true
319319
@@ -564,7 +564,7 @@ jobs:
564564 output : local
565565 push : ${{ github.event_name != 'pull_request' }}
566566 cache : true
567- artifact-name : bake-output- single
567+ artifact-name : bake-single-output
568568 bake-sbom : true
569569
570570 bake-local-single-verify :
Original file line number Diff line number Diff line change @@ -632,7 +632,7 @@ jobs:
632632 if : ${{ inputs.output == 'local' }}
633633 uses : actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
634634 with :
635- name : ${{ inputs.artifact-name }}${{ steps.prepare.outputs.platform-pair-suffix }}
635+ name : ${{ inputs.artifact-name }}${{ steps.prepare.outputs.platform-pair-suffix || '0' }}
636636 path : ${{ env.LOCAL_EXPORT_DIR }}
637637 if-no-files-found : error
638638 -
@@ -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
Original file line number Diff line number Diff line change @@ -526,7 +526,7 @@ jobs:
526526 if : ${{ inputs.output == 'local' }}
527527 uses : actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
528528 with :
529- name : ${{ inputs.artifact-name }}${{ steps.prepare.outputs.platform-pair-suffix }}
529+ name : ${{ inputs.artifact-name }}${{ steps.prepare.outputs.platform-pair-suffix || '0' }}
530530 path : ${{ env.LOCAL_EXPORT_DIR }}
531531 if-no-files-found : error
532532 -
@@ -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
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments