From 6d1a5eeb3d4a6197b6c3b3e5d92b23cba3806e59 Mon Sep 17 00:00:00 2001 From: Graham Campbell Date: Tue, 30 Jan 2024 12:21:08 +0000 Subject: [PATCH] Multiplatform vttestserver build Signed-off-by: Graham Campbell --- .github/workflows/docker_build_vttestserver.yml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.github/workflows/docker_build_vttestserver.yml b/.github/workflows/docker_build_vttestserver.yml index 1223700527b..90aa9ae08bd 100644 --- a/.github/workflows/docker_build_vttestserver.yml +++ b/.github/workflows/docker_build_vttestserver.yml @@ -27,6 +27,13 @@ jobs: - name: Check out code uses: actions/checkout@v3 + - name: Set up QEMU + uses: docker/setup-qemu-action@v3 + + - name: Set up Docker Buildx + id: buildx + uses: docker/setup-buildx-action@v3 + - name: Login to Docker Hub uses: docker/login-action@v3 with: @@ -42,6 +49,7 @@ jobs: uses: docker/build-push-action@v5 with: context: . + platforms: linux/amd64,linux/arm64 file: ${{ env.DOCKERFILE }} push: true tags: vitess/vttestserver:${{ matrix.branch }} @@ -60,6 +68,7 @@ jobs: uses: docker/build-push-action@v5 with: context: . + platforms: linux/amd64,linux/arm64 file: ${{ env.DOCKERFILE }} push: true - tags: ${{ env.DOCKER_TAG }} \ No newline at end of file + tags: ${{ env.DOCKER_TAG }}