diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6f39fe4e4..91123e05d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -46,12 +46,13 @@ jobs: build_and_push: name: Build & Publish Docker Images if: github.ref == 'refs/heads/develop' && !contains(github.event.head_commit.message, '[skip ci]') - runs-on: ubuntu-22.04 + strategy: + matrix: + runner: [ubuntu-22.04, ubuntu-22.04-arm64] + runs-on: ${{ matrix.runner }} steps: - name: Checkout uses: actions/checkout@v4 - - name: Set up QEMU - uses: docker/setup-qemu-action@v3 - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3 - name: Log in to Docker Hub @@ -75,13 +76,16 @@ jobs: with: context: . file: ./Dockerfile - platforms: linux/amd64,linux/arm64 + # platforms: linux/amd64,linux/arm64 + platforms: ${{ matrix.runner == 'ubuntu-22.04' && 'linux/amd64' || 'linux/arm64' }} push: true build-args: | COMMIT_TAG=${{ github.sha }} tags: | fallenbagel/jellyseerr:develop ghcr.io/${{ env.OWNER_LC }}/jellyseerr:develop + cache-from: type=gha + cache-to: type=gha,mode=max discord: name: Send Discord Notification