From 365f0be9fd02b21dff25484b917c8c5387356493 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Omar=20Vergara=20P=C3=A9rez?= Date: Wed, 3 Jan 2024 14:51:45 -0600 Subject: [PATCH] ci(actions): add multiple platforms to build and push step to support arm64 platforms --- .github/workflows/deploy_image.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy_image.yml b/.github/workflows/deploy_image.yml index 85b5538..666a954 100644 --- a/.github/workflows/deploy_image.yml +++ b/.github/workflows/deploy_image.yml @@ -16,7 +16,9 @@ jobs: packages: write steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 + - name: Set up QEMU + uses: docker/setup-qemu-action@v3 - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3 - name: Login to GitHub Container Registry @@ -29,6 +31,6 @@ jobs: uses: docker/build-push-action@v5 with: context: . + platforms: linux/amd64,linux/arm64 push: true tags: ghcr.io/${{ github.actor }}/morphos-server:latest - build-args: GO_VERSION=${{ env.GO_VERSION }}