Skip to content

Commit

Permalink
Merge pull request #120 from solo-io/charlesthebird/multiArchImage2
Browse files Browse the repository at this point in the history
Charlesthebird/multi arch image2
  • Loading branch information
Charlesthebird authored Jan 2, 2025
2 parents c41e15c + c12d478 commit 019e051
Showing 1 changed file with 5 additions and 10 deletions.
15 changes: 5 additions & 10 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v4

- uses: ./.github/actions/build-ui

Expand Down Expand Up @@ -65,15 +65,10 @@ 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 rm mybuilder || true
docker buildx create --use --name mybuilder --driver-opt "image=moby/buildkit:v0.10.6"
# Registers QEMU emulators for multiple architectures.
docker run --rm --privileged multiarch/qemu-user-static:register --reset
# Runs the multiarch/qemu-user-static image to initialize QEMU.
docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
with:
platforms: linux/amd64,linux/arm64

- name: Build and push Docker image
run: |
Expand Down

0 comments on commit 019e051

Please sign in to comment.