From ebd35072ac0966772eea5c03ea1c6b3fc914732c Mon Sep 17 00:00:00 2001 From: Niklas Zender <33399346+nikzen@users.noreply.github.com> Date: Thu, 5 Mar 2026 16:28:29 +0100 Subject: [PATCH] feat(docker): support per-platform artifact downloads --- .github/workflows/docker.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index cfb165e..a0f605d 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -37,6 +37,11 @@ on: required: false default: . type: string + artifact_per_platform: + description: "If true, downloads artifact_name- instead of artifact_name" + required: false + default: false + type: boolean push: description: "Whether to push the image, or just build" required: true @@ -94,7 +99,7 @@ jobs: if: ${{ inputs.artifact_name != '' }} uses: actions/download-artifact@v4 with: - name: ${{inputs.artifact_name}} + name: ${{ inputs.artifact_per_platform && format('{0}-{1}', inputs.artifact_name, matrix.platform) || inputs.artifact_name }} path: ${{inputs.artifact_path}} - name: Log into registry ${{ inputs.registry }}