Skip to content

Commit 65acc88

Browse files
author
hamin
committed
multi-platform image test
1 parent 35a089a commit 65acc88

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

.github/workflows/docker.latest.yml

+2
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ jobs:
2727
cd software_docker
2828
APP_VERSION=$(ls -d v*.*.* | sort -V | tail -n 1)
2929
cd ${APP_VERSION}
30+
docker buildx create --name mybuilder --driver docker-container --bootstrap --use
31+
docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
3032
docker buildx build --platform linux/amd64,linux/arm64 -t mpgagebioinformatics/bioinformatics_software:latest . --push
3133
3234
- name: Set Success env

.github/workflows/docker.tag.yml

+2
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ jobs:
2525
APP_VERSION=${GITHUB_REF#refs/*/}
2626
git clone https://github.com/mpg-age-bioinformatics/software_docker.git
2727
cd software_docker/${APP_VERSION}
28+
docker buildx create --name mybuilder --driver docker-container --bootstrap --use
29+
docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
2830
docker buildx build --platform linux/amd64,linux/arm64 -t mpgagebioinformatics/bioinformatics_software:${APP_VERSION} -t mpgagebioinformatics/bioinformatics_software:latest . --push
2931
3032
- name: Set Success env

0 commit comments

Comments
 (0)