merge manifest create and add commands

This commit is contained in:
Chris Kruining 2025-09-08 14:25:24 +02:00
parent 833119bc7e
commit 585f179118
No known key found for this signature in database
GPG key ID: EB894A3560CCCAD2

View file

@ -45,8 +45,7 @@ jobs:
- name: Push image
run: |
podman manifest rm localhost:${{ env.tag }} || true
podman manifest create localhost:${{ env.tag }}
podman manifest add localhost:${{ env.tag }} localhost/default:${{ env.tag }}
podman manifest create localhost:${{ env.tag }} localhost/default:${{ env.tag }}
podman manifest inspect localhost/:${{ env.tag }} > /tmp/manifest.json
curl -sS @/tmp/forgejo_token -X PUT --data-binary @/tmp/manifest.json ${{ forge.server_url }}/v2/${{ forge.owner }}/amrth/runners/manifests/${{ env.tag }}