fix(workflow): update artifact naming and handling in docker-build.yml

- Changed artifact name to include architecture in upload step.
- Updated download step to use a pattern for artifact names and enabled merging of multiple artifacts.
This commit is contained in:
Josh Jacobs
2025-10-26 15:19:15 +00:00
parent 7d643e3ff6
commit 96ebbf805d

View File

@@ -72,10 +72,11 @@ jobs:
- name: Upload digest - name: Upload digest
uses: actions/upload-artifact@v5 uses: actions/upload-artifact@v5
with: with:
name: digests name: digests-${{ matrix.arch }}
path: /tmp/digests/* path: /tmp/digests/*
if-no-files-found: error if-no-files-found: error
retention-days: 1 retention-days: 1
overwrite: true
MergeRefs: MergeRefs:
name: Do The Horrible Merge Thing name: Do The Horrible Merge Thing
@@ -87,8 +88,9 @@ jobs:
- name: Download digests - name: Download digests
uses: actions/download-artifact@v6 uses: actions/download-artifact@v6
with: with:
name: digests pattern: digests-*
path: /tmp/digests path: /tmp/digests
merge-multiple: true
- name: Set up Docker Buildx - name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3 uses: docker/setup-buildx-action@v3