From b042ab416d88ff53bbb2d9985a561b2918c8f170 Mon Sep 17 00:00:00 2001 From: Brent Graveland Date: Tue, 26 Nov 2024 07:29:39 -0700 Subject: [PATCH] Fix builds with multiple tags --- .github/workflows/build.yaml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 4ea0517..bccddd1 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -182,9 +182,7 @@ jobs: - name: Create manifest list and push working-directory: /tmp/digests run: | + docker buildx imagetools create --dry-run $(jq -cr '.tags | map("-t " + .) | join(" ")' <<< "$DOCKER_METADATA_OUTPUT_JSON") \ + $(printf '${{ inputs.registry }}@sha256:%s ' *) docker buildx imagetools create $(jq -cr '.tags | map("-t " + .) | join(" ")' <<< "$DOCKER_METADATA_OUTPUT_JSON") \ $(printf '${{ inputs.registry }}@sha256:%s ' *) - - - name: Inspect image - run: | - docker buildx imagetools inspect ${{ inputs.registry }}:${{ inputs.tags }}