From 478536986482bf9c452cc5737c6fc28de016d6ed Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Wed, 8 Feb 2023 17:08:37 +0100 Subject: workflows/ci: build for ARM also, because why not? --- .github/workflows/ci.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 433be82..0fb039e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -44,6 +44,10 @@ jobs: type=semver,pattern={{version}} type=semver,pattern={{major}}.{{minor}} type=semver,pattern={{major}} + - name: Set up QEMU + uses: docker/setup-qemu-action@v2 + - name: Set up Docker Buildx + uses: docker/setup-buildx-action@v2 - name: Login to Docker Hub uses: docker/login-action@v2 with: @@ -55,6 +59,7 @@ jobs: # Without context, .dockerignore is not respected? # https://stackoverflow.com/a/74552407/514684 context: . + labels: '${{ steps.meta.outputs.labels }}' + platforms: amd64,armhf,arm64 push: true tags: '${{ steps.meta.outputs.tags }}' - labels: '${{ steps.meta.outputs.labels }}' -- cgit v1.2.3