The ersatztv-ffmpeg repo has .gitea/workflows/build.yml while 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:
Stripped arm32v7 and arm64 Dockerfiles (only amd64 needed for jazz)
Replaced .github/workflows/ with .gitea/workflows/build.yml targeting Gitea container registry
The main ersatztv repo still needs its equivalent (tracked in ersatztv#4).
Stale workflows
There's also a multi-platform.yml from 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:
Local cache: cache-from: type=local,src=/tmp/.buildx-cache / cache-to: type=local,...
GitHub Actions cache: Not available on Gitea, skip this option
Tasks
Confirm origin of .gitea/workflows/build.yml (answered: manual fork setup)
Remove stale multi-platform.yml if it still exists in the repo
Add cache-from/cache-to to build.yml for buildx layer caching
Verify cached rebuild is significantly faster than cold build
## Background
The ersatztv-ffmpeg repo has `.gitea/workflows/build.yml` while 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:
- Stripped arm32v7 and arm64 Dockerfiles (only amd64 needed for jazz)
- Replaced `.github/workflows/` with `.gitea/workflows/build.yml` targeting Gitea container registry
The main ersatztv repo still needs its equivalent (tracked in ersatztv#4).
## Stale workflows
There's also a `multi-platform.yml` from 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:
- **Registry cache**: `cache-from: type=registry,ref=192.168.1.95:3000/timothy/ersatztv-ffmpeg:buildcache` / `cache-to: type=registry,...`
- **Local cache**: `cache-from: type=local,src=/tmp/.buildx-cache` / `cache-to: type=local,...`
- **GitHub Actions cache**: Not available on Gitea, skip this option
### Tasks
- [ ] Confirm origin of `.gitea/workflows/build.yml` (answered: manual fork setup)
- [ ] Remove stale `multi-platform.yml` if it still exists in the repo
- [ ] Add `cache-from`/`cache-to` to `build.yml` for buildx layer caching
- [ ] Verify cached rebuild is significantly faster than cold build
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
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