when: - event: pull_request steps: # Clone the pinned upstream jellyfin-ha source and publish the .NET server # into ./publish-output (consumed by Dockerfile.runtime). - name: publish image: mcr.microsoft.com/dotnet/sdk:10.0 commands: - | REF=$$(cat UPSTREAM_REF) git clone https://github.com/ZoltyMat/jellyfin-ha.git src git -C src checkout "$$REF" dotnet publish src/Jellyfin.Server/Jellyfin.Server.csproj \ -c Release -r linux-x64 --self-contained false -o ./publish-output backend_options: kubernetes: serviceAccountName: default resources: requests: memory: 2Gi cpu: 2 limits: memory: 6Gi cpu: 4 # Validate the runtime image builds (no push on PRs). - name: docker-build image: woodpeckerci/plugin-docker-buildx settings: repo: git.unkin.net/unkin/jellyfin-ha dockerfile: Dockerfile.runtime dry_run: true depends_on: [publish] backend_options: kubernetes: serviceAccountName: default resources: requests: memory: 1Gi cpu: 1 limits: memory: 4Gi cpu: 2