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