ci: push images to artifactapi registry instead of gitea
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
This commit is contained in:
@@ -28,7 +28,7 @@ steps:
|
||||
- name: docker-build
|
||||
image: woodpeckerci/plugin-docker-buildx
|
||||
settings:
|
||||
repo: git.unkin.net/unkin/jellyfin-ha
|
||||
repo: artifactapi.k8s.syd1.au.unkin.net/docker-internal/jellyfin-ha
|
||||
dockerfile: Dockerfile.runtime
|
||||
dry_run: true
|
||||
depends_on: [publish]
|
||||
|
||||
@@ -24,16 +24,13 @@ steps:
|
||||
memory: 6Gi
|
||||
cpu: 4
|
||||
|
||||
# Build the runtime image and push it to the Gitea registry.
|
||||
# Build the runtime image and push it to the artifactapi local docker registry.
|
||||
- name: docker
|
||||
image: woodpeckerci/plugin-docker-buildx
|
||||
settings:
|
||||
registry: git.unkin.net
|
||||
repo: git.unkin.net/unkin/jellyfin-ha
|
||||
registry: artifactapi.k8s.syd1.au.unkin.net
|
||||
repo: artifactapi.k8s.syd1.au.unkin.net/docker-internal/jellyfin-ha
|
||||
dockerfile: Dockerfile.runtime
|
||||
username: droneci
|
||||
password:
|
||||
from_secret: DRONECI_PASSWORD
|
||||
tags:
|
||||
- ${CI_COMMIT_TAG}
|
||||
- latest
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
.PHONY: publish build clean patch minor major
|
||||
|
||||
IMAGE ?= git.unkin.net/unkin/jellyfin-ha
|
||||
IMAGE ?= artifactapi.k8s.syd1.au.unkin.net/docker-internal/jellyfin-ha
|
||||
VERSION ?= $(shell git describe --tags --always --dirty 2>/dev/null || echo "0.0.0-dev")
|
||||
REF := $(shell cat UPSTREAM_REF)
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@ produces a runtime container image pushed to the Gitea registry.
|
||||
|
||||
## What it produces
|
||||
|
||||
`git.unkin.net/unkin/jellyfin-ha:<tag>` — an `mcr.microsoft.com/dotnet/aspnet:10.0` based image with ffmpeg and
|
||||
`artifactapi.k8s.syd1.au.unkin.net/docker-internal/jellyfin-ha:<tag>` — an `mcr.microsoft.com/dotnet/aspnet:10.0` based image with ffmpeg and
|
||||
the prebuilt `jellyfin-web` client, running the published `jellyfin-ha` server.
|
||||
|
||||
## Layout
|
||||
@@ -26,7 +26,7 @@ the prebuilt `jellyfin-web` client, running the published `jellyfin-ha` server.
|
||||
|
||||
1. To track a newer upstream, update `UPSTREAM_REF` to the desired commit SHA and merge via PR.
|
||||
2. Cut a release: `make patch` (or `minor` / `major`) tags `vX.Y.Z` and pushes it, which triggers
|
||||
`.woodpecker/docker.yaml` to build and push `git.unkin.net/unkin/jellyfin-ha:vX.Y.Z` + `:latest`.
|
||||
`.woodpecker/docker.yaml` to build and push `artifactapi.k8s.syd1.au.unkin.net/docker-internal/jellyfin-ha:vX.Y.Z` + `:latest`.
|
||||
|
||||
## Local build
|
||||
|
||||
|
||||
Reference in New Issue
Block a user