Publish client-only Flood releases with weekly upstream checks
This commit is contained in:
1 parent
1d412506f8
commit
d2159ec66f
4 files changed
+194
-10
No files matched your search
@@ -2,16 +2,34 @@
|
||||
|
||||
Source: https://git.k2patel.in/k2patel/docker-flood-client
|
||||
|
||||
`docker.io/k2patel/floodui:latest` is the only maintained image variant and is
|
||||
an Alpine/musl distroless runtime. The separate `:distroless` tag is retired.
|
||||
`docker.io/k2patel/floodui:latest` is the maintained image variant and is
|
||||
an Alpine/musl distroless runtime. Version tags such as `:v4.16.4` preserve each
|
||||
published release. The separate `:distroless` tag is retired.
|
||||
It runs the Flood web UI/API and connects to an external torrent service;
|
||||
it does not bundle or start rTorrent.
|
||||
|
||||
## Build and publication
|
||||
|
||||
Gitea Actions publishes only on manual runs. Select `main` in Actions →
|
||||
**Build and Push Distroless Flood** → Run workflow and set the required
|
||||
`flood_version` release tag (default `v4.16.2`). Pushes do not trigger builds.
|
||||
Every Monday at 09:17 UTC, Gitea Actions checks the latest stable release at
|
||||
https://github.com/jesec/flood/releases. Drafts and prereleases are excluded.
|
||||
If its version tag is missing from Docker Hub, the workflow builds the
|
||||
client-only image, runs the existing startup validation, and publishes both
|
||||
`:latest` and the upstream version tag. An existing version skips the build.
|
||||
API/registry errors fail the check; failed builds are retried on the next weekly
|
||||
run because no version image was published. No repository tag or release is
|
||||
needed for these automatic builds.
|
||||
|
||||
Gitea Actions also publishes when a `v*` tag is created in this repository, using that
|
||||
tag as the upstream `jesec/flood` release version (for example, `v4.16.4`). Create
|
||||
tags on commits containing this workflow. Ordinary branch pushes do not trigger
|
||||
builds. Each successful build publishes `docker.io/k2patel/floodui:latest` and
|
||||
the matching version tag.
|
||||
|
||||
For a manual build, select `main` in Actions → **Build and Push Distroless Flood**
|
||||
→ Run workflow. Leave `flood_version` as `auto` to check now, or enter an explicit
|
||||
release tag such as `v4.16.4` to force a rebuild. Use this option for tags created
|
||||
before tag-triggered builds were restored; changing the workflow does not
|
||||
trigger a build for an existing tag.
|
||||
The upstream pnpm lockfile builds the server and UI; switching release families
|
||||
may require changes to the build tooling.
|
||||
|
||||
@@ -26,6 +44,10 @@ mediainfo/df, and absence of shell/package-manager binaries before publication.
|
||||
Builds use the Kubernetes runner for `linux/amd64`, pushing directly to Docker
|
||||
Hub; temporary builders and caches are removed afterward. Configure Actions
|
||||
secrets `DOCKER_USERNAME` and `DOCKER_TOKEN` with write access to `k2patel/floodui`.
|
||||
The weekly schedule becomes active once the workflow is on the default branch
|
||||
(`main`). The release check uses public GitHub and Docker Hub APIs and requires
|
||||
no additional secrets. Run `node --test tests/check-release.cjs` to test release
|
||||
selection and skip/error handling locally.
|
||||
|
||||
## Updating an existing deployment
|
||||
|
||||
|
||||
Reference in new issue
Block a user