7 Commits

Author SHA1 Message Date
jeanGaston 94b02198dd ci: build images from a dev branch and release tags, not every commit
Every push to master was triggering a build+push, since that's where
day-to-day commits land. Switch to two deliberate channels instead:
pushing to dev produces a rolling :dev tag for testing, and pushing a
v* tag produces :latest + the version tag for real releases. Plain
commits/merges to master/main no longer build anything on their own.
2026-07-30 12:03:20 +02:00
jeanGaston bf8fef9190 ci: push to GHCR from the Gitea workflow instead of a separate one
The Gitea instance's act_runner is the CI that actually executes here;
GitHub Actions on the mirror isn't confirmed to run at all (and a
push-mirror lacking the "workflow" PAT scope can silently drop
.github/workflows changes anyway). Add a GHCR login/push to the
existing .gitea/workflows/docker-publish.yml job instead, so one
build produces tags on both the Gitea registry and ghcr.io. Drop the
now-redundant .github/workflows/docker-publish.yml.

Requires a new repo secret GHCR_TOKEN: a GitHub PAT with write:packages
scope (separate from REGISTRY_TOKEN, which is scoped to the Gitea
registry).
2026-07-30 11:50:38 +02:00
jeanGaston 3a859a8060 fix(ci): lowercase image name for registry tag
Publish Docker image / build-and-push (push) Successful in 3m16s
github.repository preserves the owner's case (jeanGaston), but OCI
registries reject uppercase repository names. Compute a lowercased
IMAGE_NAME env var and use it for both tags instead.
2026-07-30 11:20:06 +02:00
jeanGaston b5b6898e47 fix(ci): auth to registry with a PAT instead of the built-in token
Publish Docker image / build-and-push (push) Failing after 11s
The auto-injected GITHUB_TOKEN isn't authorized against this Gitea
instance's container registry (401 unauthorized), so use a repo
secret backed by a personal access token with package scope instead.
2026-07-30 11:16:33 +02:00
jeanGaston b3f59780f2 fix(ci): rename registry variable to avoid reserved GITEA_ prefix
Publish Docker image / build-and-push (push) Failing after 9s
Gitea rejects variable/secret names starting with GITEA_ or GITHUB_
(reserved for system-injected values), which is why GITEA_REGISTRY
couldn't be created in repo settings.
2026-07-30 11:15:16 +02:00
jeanGaston 7bd8d543b1 fix(ci): use ubuntu-latest runner label instead of nonexistent docker label
Publish Docker image / build-and-push (push) Failing after 1m7s
act_runner's default registration only exposes ubuntu-latest (and
similar ubuntu-* labels); "docker" isn't a real label unless a runner
was explicitly configured with it.
2026-07-30 10:58:50 +02:00
jeanGaston 395dcad6be ci: add Gitea Actions workflow to publish Docker image
Publish Docker image / build-and-push (push) Has been cancelled
Builds the existing Dockerfile and pushes it to the Gitea container
registry on pushes to main/master and version tags.
2026-07-30 10:41:36 +02:00