diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 1fb70ce5..4aae6705 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -65,6 +65,13 @@ jobs: run: | gcloud auth configure-docker --quiet + # This is what we use in GME (under "make docker-setup-multiarch-buildkit") + - name: Docker Buildkit Setup (for multi arch) + run: | + docker buildx create --use --driver-opt "image=moby/buildkit:v0.10.6" + docker run --rm --privileged multiarch/qemu-user-static:register --reset + docker run --rm --privileged multiarch/qemu-user-static --reset -p yes + - name: Build and push Docker image run: | 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 .