From a1bbe8bc8ae4a978acd14384f242cba11f4efab1 Mon Sep 17 00:00:00 2001 From: Sudo-Ivan Date: Mon, 14 Jul 2025 16:31:01 -0500 Subject: [PATCH] Add ARM64 docker support --- .github/workflows/docker.yml | 20 +++++++------------- 1 file changed, 7 insertions(+), 13 deletions(-) diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index cdc6f18..b83dd51 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -22,6 +22,11 @@ jobs: - name: Checkout repository uses: actions/checkout@v4 + - name: Set up QEMU + uses: docker/setup-qemu-action@v3 + with: + platforms: amd64,arm64 + - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3 @@ -49,20 +54,9 @@ jobs: uses: docker/build-push-action@v5 with: context: . - file: Dockerfile + platforms: linux/amd64,linux/arm64 push: ${{ github.event_name != 'pull_request' }} tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }} cache-from: type=gha - cache-to: type=gha,mode=max - - - name: Build and push rootless Docker image - uses: docker/build-push-action@v5 - with: - context: . - file: Dockerfile.rootless - push: ${{ github.event_name != 'pull_request' }} - tags: ${{ steps.meta.outputs.tags }}-rootless - labels: ${{ steps.meta.outputs.labels }} - cache-from: type=gha - cache-to: type=gha,mode=max \ No newline at end of file + cache-to: type=gha,mode=max \ No newline at end of file