From 5602892334e9c4c384d4df5d4c4b8a869d0c8630 Mon Sep 17 00:00:00 2001 From: Cromefire_ Date: Sun, 22 Oct 2023 23:11:05 +0200 Subject: [PATCH] Removed file from first manifest create command --- .github/workflows/docker-publish.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml index de64154..f958c96 100644 --- a/.github/workflows/docker-publish.yml +++ b/.github/workflows/docker-publish.yml @@ -206,12 +206,11 @@ jobs: - name: Create manifest list and push working-directory: /tmp/digests run: | - set -x jq -crj '.tags | join(" ")' <<< "$DOCKER_METADATA_OUTPUT_JSON" > /tmp/extra-manifest.json TAGS="$(jq -crj '.tags | map("-t " + .) | join(" ")' <<< "$DOCKER_METADATA_OUTPUT_JSON")" - docker buildx imagetools create -f /tmp/extra-manifest.json ${TAGS} \ + docker buildx imagetools create ${TAGS} \ $(printf '${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}@sha256:%s ' *) - docker buildx imagetools create -f /tmp/extra-manifest.json --append ${TAGS} + docker buildx imagetools create --append -f /tmp/extra-manifest.json ${TAGS} # Sign the resulting Docker image digest except on PRs. # This will only write to the public Rekor transparency log when the Docker