Investigate .gitea workflow origin and add buildx layer caching #1
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 ersatztv-ffmpeg repo has
.gitea/workflows/build.ymlwhile the main ersatztv repo has none — only the upstream.github/workflows/. The.gitea/workflows were created during the initial fork setup (see server-management#172 comment) when the repo was adapted for Gitea Actions:.github/workflows/with.gitea/workflows/build.ymltargeting Gitea container registryThe main ersatztv repo still needs its equivalent (tracked in ersatztv#4).
Stale workflows
There's also a
multi-platform.ymlfrom the upstream history that keeps getting queued as a stale run. It should be explicitly removed or the file deleted from the repo to prevent phantom builds.Build caching
The FFmpeg build takes 30+ minutes cold. With Docker buildx layer caching, subsequent builds would only rebuild changed layers. Options:
cache-from: type=registry,ref=192.168.1.95:3000/timothy/ersatztv-ffmpeg:buildcache/cache-to: type=registry,...cache-from: type=local,src=/tmp/.buildx-cache/cache-to: type=local,...Tasks
.gitea/workflows/build.yml(answered: manual fork setup)multi-platform.ymlif it still exists in the repocache-from/cache-totobuild.ymlfor buildx layer caching