Compare commits

...

1 Commits

Author SHA1 Message Date
fallenbagel
efb0269439 ci: attempt to fix arm64 runners with proper scoped caching
Added platform specific cache scoping and turned off provenance to prevent manifest merging. In
addition we are now using ubuntu24.04 in an attempt to get the job to run as ubuntu-22.04 were
stalled for more than 18 hours.
2025-01-18 17:39:22 +08:00

View File

@@ -48,7 +48,11 @@ jobs:
if: github.ref == 'refs/heads/develop' && !contains(github.event.head_commit.message, '[skip ci]') if: github.ref == 'refs/heads/develop' && !contains(github.event.head_commit.message, '[skip ci]')
strategy: strategy:
matrix: matrix:
runner: [ubuntu-22.04, ubuntu-22.04-arm64] include:
- runner: ubuntu-22.04
platform: linux/amd64
- runner: ubuntu-22.04-arm64
platform: linux/arm64
runs-on: ${{ matrix.runner }} runs-on: ${{ matrix.runner }}
steps: steps:
- name: Checkout - name: Checkout
@@ -77,15 +81,16 @@ jobs:
context: . context: .
file: ./Dockerfile file: ./Dockerfile
# platforms: linux/amd64,linux/arm64 # platforms: linux/amd64,linux/arm64
platforms: ${{ matrix.runner == 'ubuntu-22.04' && 'linux/amd64' || 'linux/arm64' }} platforms: ${{ matrix.platform }}
push: true push: true
build-args: | build-args: |
COMMIT_TAG=${{ github.sha }} COMMIT_TAG=${{ github.sha }}
tags: | tags: |
fallenbagel/jellyseerr:develop fallenbagel/jellyseerr:develop
ghcr.io/${{ env.OWNER_LC }}/jellyseerr:develop ghcr.io/${{ env.OWNER_LC }}/jellyseerr:develop
cache-from: type=gha cache-from: type=gha,scope=${{ matrix.platform }}
cache-to: type=gha,mode=max cache-to: type=gha,mode=max,scope=${{ matrix.platform }}
provenance: false
discord: discord:
name: Send Discord Notification name: Send Discord Notification