mirror of
https://git.asonix.dog/asonix/pict-rs.git
synced 2024-11-24 10:31:07 +00:00
Split final buildx into multiple steps
This commit is contained in:
parent
290e6f6207
commit
e40d7ef483
1 changed files with 4 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue