From cb56c94d99f6dede298fec324b39aae05b2062b1 Mon Sep 17 00:00:00 2001 From: Aleksei Kiyashkin Date: Wed, 24 Jul 2024 06:59:37 +0000 Subject: [PATCH] fix: enable multiarch builds --- .github/workflows/docker-build-push.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/docker-build-push.yml b/.github/workflows/docker-build-push.yml index c4a1c21..5b3cf4d 100644 --- a/.github/workflows/docker-build-push.yml +++ b/.github/workflows/docker-build-push.yml @@ -13,6 +13,9 @@ jobs: - name: Checkout code uses: actions/checkout@v2 + - name: Set up QEMU + uses: docker/setup-qemu-action@v2 + - name: Set up Docker Buildx uses: docker/setup-buildx-action@v2 @@ -28,6 +31,7 @@ jobs: with: context: . push: true + platforms: linux/amd64,linux/arm64 tags: | ghcr.io/ronasit/php-nginx-dev-wkhtmltopdf:latest ghcr.io/ronasit/php-nginx-dev-wkhtmltopdf:${{ github.sha }}