File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4545 name : eps-devcontainer-base-latest-${{ matrix.arch }}.img
4646 path : |
4747 eps-devcontainer-base-latest-${{ matrix.arch }}.img
48+
49+ publish_image :
50+ needs : build_image
51+ runs-on : ubuntu-22.04
52+ permissions :
53+ contents : read
54+ packages : write
55+ attestations : write
56+ id-token : write
57+ steps :
58+ - name : Download amd64 images
59+ uses : actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131
60+ with :
61+ name : eps-devcontainer-base-latest-amd64.img
62+ - name : Download arm64 images
63+ uses : actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131
64+ with :
65+ name : eps-devcontainer-base-latest-arm64.img
66+ - name : Load and push multi-arch image
67+ run : |
68+ docker load -i eps-devcontainer-base-latest-amd64.img
69+ docker load -i eps-devcontainer-base-latest-arm64.img
70+ docker manifest create ghcr.io/nhsdigital/eps-devcontainer-base:latest ghcr.io/nhsdigital/eps-devcontainer-base:latest-amd64 ghcr.io/nhsdigital/eps-devcontainer-base:latest-arm64
71+ docker manifest push ghcr.io/nhsdigital/eps-devcontainer-base:latest
You can’t perform that action at this time.
0 commit comments