diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 91123e05d..739ea48b1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,7 +12,7 @@ jobs: test: name: Lint & Test Build if: github.event_name == 'pull_request' - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 container: node:22-alpine steps: - name: Checkout @@ -48,7 +48,11 @@ jobs: if: github.ref == 'refs/heads/develop' && !contains(github.event.head_commit.message, '[skip ci]') strategy: matrix: - runner: [ubuntu-22.04, ubuntu-22.04-arm64] + include: + - runner: ubuntu-24.04 + platform: linux/amd64 + - runner: ubuntu-24.04 + platform: linux/arm64 runs-on: ${{ matrix.runner }} steps: - name: Checkout @@ -77,21 +81,22 @@ jobs: context: . file: ./Dockerfile # platforms: linux/amd64,linux/arm64 - platforms: ${{ matrix.runner == 'ubuntu-22.04' && 'linux/amd64' || 'linux/arm64' }} + platforms: ${{ matrix.platform }} 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 + cache-from: type=gha,scope=${{ matrix.platform }} + cache-to: type=gha,mode=max,scope=${{ matrix.platform }} + provenance: false discord: name: Send Discord Notification needs: build_and_push if: always() && github.event_name != 'pull_request' && !contains(github.event.head_commit.message, '[skip ci]') - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 steps: - name: Get Build Job Status uses: technote-space/workflow-conclusion-action@v3