Skip to content

Commit

Permalink
Removed file from first manifest create command
Browse files Browse the repository at this point in the history
  • Loading branch information
cromefire committed Oct 22, 2023
1 parent a3fa943 commit 5602892
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5602892

Please sign in to comment.