diff --git a/.github/workflows/docker.yaml b/.github/workflows/docker.yaml index 92a23d6..e5d9684 100644 --- a/.github/workflows/docker.yaml +++ b/.github/workflows/docker.yaml @@ -13,7 +13,8 @@ env: REGISTRY: ghcr.io # github.repository as / IMAGE_NAME: ${{ github.repository }} - + # Target platforms + PLATFORMS: linux/amd64,linux/arm/v7,linux/arm64 jobs: build: @@ -63,6 +64,7 @@ jobs: uses: docker/build-push-action@c84f38281176d4c9cdb1626ffafcd6b3911b5d94 with: context: . + platforms: ${{ env.PLATFORMS }} push: ${{ github.event_name != 'pull_request' }} tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }}