From 8828d531e4ec084e179dff6b0c39da457491086e Mon Sep 17 00:00:00 2001 From: Salvatore Testa Date: Fri, 27 Jun 2025 23:38:08 +0200 Subject: [PATCH] ci: publish ARM-based Docker image too Without ARM support, this is harder to use on MacBook Pros. I copied the `platforms` tag example from the Docker docs. https://docs.docker.com/build/ci/github-actions/multi-platform/ --- .github/workflows/docker.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 7e15e4c..9e9d0ed 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -50,6 +50,7 @@ jobs: with: context: . target: production + platforms: linux/amd64,linux/arm64 push: ${{ github.event_name != 'pull_request' }} tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }} @@ -61,6 +62,7 @@ jobs: with: context: . target: development + platforms: linux/amd64,linux/arm64 push: ${{ github.event_name != 'pull_request' }} tags: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:dev labels: ${{ steps.meta.outputs.labels }}