From 6b84dfdce31e9d9e73a6711e642120a33e973b0b Mon Sep 17 00:00:00 2001 From: Dylan Arbour Date: Thu, 4 Apr 2024 06:32:12 -0700 Subject: [PATCH] Add arm64 builds for Docker container (#25) Builds both amd64 and arm64 containers on release. --- .github/workflows/release.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7c881e8..afa2745 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -23,6 +23,9 @@ jobs: - name: Docker set up buildx uses: docker/setup-buildx-action@v2 + - name: Docker set up qemu + uses: docker/setup-qemu-action@v3 + - name: Docker login uses: docker/login-action@v2 with: @@ -35,5 +38,6 @@ jobs: with: context: . file: Dockerfile + platforms: linux/amd64,linux/arm64 push: true tags: ghcr.io/grafana/xk6-client-tracing:latest,ghcr.io/grafana/xk6-client-tracing:${{ github.event.release.tag_name }}