Skip to content

Commit 9d8d8a7

Browse files
Merge pull request #118 from solo-io/charlesthebird/multiArchImage2
more testing
2 parents 82ae966 + 34a4c45 commit 9d8d8a7

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

.github/workflows/release.yaml

+8-4
Original file line numberDiff line numberDiff line change
@@ -68,12 +68,16 @@ jobs:
6868
# This is what we use in GME (under "make docker-setup-multiarch-buildkit")
6969
- name: Docker Buildkit Setup (for multi arch)
7070
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.
7274
docker run --rm --privileged multiarch/qemu-user-static:register --reset
75+
# Runs the multiarch/qemu-user-static image to initialize QEMU.
7376
docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
7477
7578
- name: Build and push Docker image
7679
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 .

0 commit comments

Comments
 (0)