Set up Gitea Actions Docker build workflow #4
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Background
The Gitea Actions runner and container registry are now live on jazz (see server-management#172). The
ersatztv-ffmpegbase image is building successfully. The main ErsatzTV repo needs its own.gitea/workflows/docker-build.ymlto build the app image.Current State
.github/workflows/(docker.yml, ci.yml, etc.) — these target Docker Hub/GHCR and multi-arch (amd64/arm32/arm64).gitea/workflows/directory exists yetdocker/Dockerfilereferencesghcr.io/ersatztv/ersatztv-ffmpeg:7.1.1as base image — needs updating to192.168.1.95:3000/timothy/ersatztv-ffmpeg:7.1.1Tasks
.gitea/workflows/docker-build.yml— simplified amd64-only build targeting the Gitea registrydocker/Dockerfileto use192.168.1.95:3000/timothy/ersatztv-ffmpeg:7.1.1as base imagecache-from/cache-to) — .NET restore + build are slow without cacheREGISTRY_USERandREGISTRY_PASSWORDsecrets (already done)ghcr.io/ersatztv/ersatztv:latestthat's currently runningNotes
docker.ymlis aworkflow_call(called fromrelease.yml) with multi-arch matrix builds and manifest merging — we don't need any of that, just a simple amd64 build+pushINFO_VERSION(version string),BUILD_CONFIG(release)