File tree 1 file changed +8
-4
lines changed
1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -68,12 +68,16 @@ jobs:
68
68
# This is what we use in GME (under "make docker-setup-multiarch-buildkit")
69
69
- name : Docker Buildkit Setup (for multi arch)
70
70
run : |
71
- docker buildx create --use --driver-opt "image=moby/buildkit:v0.10.6"
71
+ docker buildx rm mybuilder || true
72
+ docker buildx create --use --name mybuilder --driver-opt "image=moby/buildkit:v0.10.6"
73
+ # Registers QEMU emulators for multiple architectures.
72
74
docker run --rm --privileged multiarch/qemu-user-static:register --reset
75
+ # Runs the multiarch/qemu-user-static image to initialize QEMU.
73
76
docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
74
77
75
78
- name : Build and push Docker image
76
79
run : |
77
- DOCKER_BUILDKIT=1 docker buildx build --platform linux/amd64,linux/arm64 --tag gcr.io/solo-public/docs/portal-frontend:${RELEASE_TAG} --tag gcr.io/solo-public/docs/portal-frontend:latest .
78
- docker push gcr.io/solo-public/docs/portal-frontend:${RELEASE_TAG}
79
- docker push gcr.io/solo-public/docs/portal-frontend:latest
80
+ docker buildx build --push --platform linux/amd64,linux/arm64 \
81
+ --progress=plain
82
+ --tag gcr.io/solo-public/docs/portal-frontend:${RELEASE_TAG} \
83
+ --tag gcr.io/solo-public/docs/portal-frontend:latest .
You can’t perform that action at this time.
0 commit comments