Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

github: buildx imagetools for multi-arch images #80

Merged
merged 1 commit into from
May 14, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
46 changes: 23 additions & 23 deletions .github/workflows/docker-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -168,30 +168,30 @@ jobs:

- name: "Multi-arch seL4"
run: |
docker pull trustworthysystems/sel4:${TAG}-arm64
docker pull trustworthysystems/sel4:${TAG}-amd64
docker buildx imagetools create -t trustworthysystems/sel4:${TAG} \
trustworthysystems/sel4:${TAG}-arm64
trustworthysystems/sel4:${TAG}-arm64

docker manifest create trustworthysystems/sel4:${TAG} \
--amend trustworthysystems/sel4:${TAG}-arm64 \
--amend trustworthysystems/sel4:${TAG}-amd64
docker manifest push trustworthysystems/sel4:${TAG}

docker manifest create trustworthysystems/sel4:latest \
--amend trustworthysystems/sel4:${TAG}-arm64 \
--amend trustworthysystems/sel4:${TAG}-amd64
docker manifest push trustworthysystems/sel4:latest
docker buildx imagetools create -t trustworthysystems/sel4:latest \
trustworthysystems/sel4:${TAG}-arm64
trustworthysystems/sel4:${TAG}-arm64

- name: "Multi-arch CAmkES"
run: |
docker pull trustworthysystems/camkes:${TAG}-arm64
docker pull trustworthysystems/camkes:${TAG}-amd64

docker manifest create trustworthysystems/camkes:${TAG} \
--amend trustworthysystems/camkes:${TAG}-arm64 \
--amend trustworthysystems/camkes:${TAG}-amd64
docker manifest push trustworthysystems/camkes:${TAG}

docker manifest create trustworthysystems/camkes:latest \
--amend trustworthysystems/camkes:${TAG}-arm64 \
--amend trustworthysystems/camkes:${TAG}-amd64
docker manifest push trustworthysystems/camkes:latest
docker buildx imagetools create -t trustworthysystems/camkes:${TAG} \
trustworthysystems/camkes:${TAG}-arm64
trustworthysystems/camkes:${TAG}-arm64

docker buildx imagetools create -t trustworthysystems/camkes:latest \
trustworthysystems/camkes:${TAG}-arm64
trustworthysystems/camkes:${TAG}-arm64

- name: "Multi-arch CAmkES+CakeML+Rust"
run: |
docker buildx imagetools create -t trustworthysystems/camkes-cakeml-rust:${TAG} \
trustworthysystems/camkes-cakeml-rust:${TAG}-arm64
trustworthysystems/camkes-cakeml-rust:${TAG}-arm64

docker buildx imagetools create -t trustworthysystems/camkes-cakeml-rust:latest \
trustworthysystems/camkes-cakeml-rust:${TAG}-arm64
trustworthysystems/camkes-cakeml-rust:${TAG}-arm64
Loading