84f9158e9b
Hard switch of the docker push target from the Gitea registry to the artifactapi local docker registry (docker-internal); the Gitea VM and its registry are being retired. Drops the droneci/DRONECI_PASSWORD creds since artifactapi accepts unauthenticated in-cluster pushes. Also repoints the Makefile IMAGE and README image paths. Claude-Session: https://claude.ai/code/session_015ur3i7D2azsMAWTSVABApv
48 lines
1.3 KiB
YAML
48 lines
1.3 KiB
YAML
when:
|
|
- event: tag
|
|
ref: refs/tags/v*
|
|
|
|
steps:
|
|
# Same publish step as the PR pipeline: clone pinned upstream + dotnet publish.
|
|
- 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
|
|
|
|
# Build the runtime image and push it to the artifactapi local docker registry.
|
|
- name: docker
|
|
image: woodpeckerci/plugin-docker-buildx
|
|
settings:
|
|
registry: artifactapi.k8s.syd1.au.unkin.net
|
|
repo: artifactapi.k8s.syd1.au.unkin.net/docker-internal/jellyfin-ha
|
|
dockerfile: Dockerfile.runtime
|
|
tags:
|
|
- ${CI_COMMIT_TAG}
|
|
- latest
|
|
depends_on: [publish]
|
|
backend_options:
|
|
kubernetes:
|
|
serviceAccountName: default
|
|
resources:
|
|
requests:
|
|
memory: 1Gi
|
|
cpu: 1
|
|
limits:
|
|
memory: 4Gi
|
|
cpu: 2
|