2
0
Fork 0
mirror of https://git.asonix.dog/asonix/pict-rs synced 2024-12-22 03:11:24 +00:00

Split final buildx into multiple steps

This commit is contained in:
asonix 2024-02-08 09:35:59 -06:00
parent 290e6f6207
commit e40d7ef483

View file

@ -143,6 +143,7 @@ jobs:
digest="${{ steps.build.outputs.digest }}"
touch "/tmp/digests/${digest#sha256:}"
echo "Created /tmp/digests/${digest#sha256:}"
shell: bash
-
name: Upload ${{ matrix.info.platform }} digest
uses: https://github.com/actions/upload-artifact@v3
@ -203,8 +204,9 @@ jobs:
name: Create manifest list and push
working-directory: /tmp/digests
run: |
docker buildx imagetools create $(jq -cr '.tags | map("-t " + .) | join(" ")' <<< "$DOCKER_METADATA_OUTPUT_JSON")
$(printf "${{ env.REGISTRY_IMAGE }}@sha256:%s " *)
tags=$(jq -cr '.tags | map("-t " + .) | join(" ")' <<< "$DOCKER_METADATA_OUTPUT_JSON")
images=$(printf "${{ env.REGISTRY_IMAGE }}@sha256:%s " *)
docker buildx imagetools create "${tags}" "${images}"
shell: bash
-
name: Inspect Image