Launch: public image on GHCR, GitHub's copy of each release #26

Merged
jcoffey-dev merged 1 commits from launch into main 2026-11-15 20:54:22 +00:00
Owner

The launch changes, before the repo goes public (John: v0.1.0 final, public image on GHCR, GitHub mirror, Windows unsigned for now).

  • .github/workflows/release.yml (GitHub only; Gitea reads .gitea/workflows): on a v* tag from the mirror, waits up to 30 min for Gitea's Release, checks SHA256SUMS.minisig with the release key and every file with sha256sum --strict -c, then makes the GitHub Release (same notes and files, #N linked to Gitea) and pushes ghcr.io/coffey-labs/cairnobs:<version> with scripts/build-image.sh from the checked binaries; a final release also moves :latest. Gated on vars.BUILD_ON == 'github' so mirror.sh accepts it. Actions pinned by SHA (checkout v7.0.1, setup-buildx v4.4.0). workflow_dispatch with a tag publishes one again.
  • Docs and manifests name the public image: docs/kubernetes.md ("The image": pull, skopeo copy --all to your registry, or build), docs/container.md run and upgrade lines, kustomize base newName, the join.image example.
  • Containerfile labels: org.opencontainers.image.source (Gitea) and .documentation (docs.cairnobs.org).
  • "Private until launch" removed from README, .gitea/workflows/release.yml and build-image.sh.

The workflow's first real run is the v0.1.0 tag; its download-and-verify part gets a dry run against rc.8 once the repo is public, before tagging.

The launch changes, before the repo goes public (John: v0.1.0 final, public image on GHCR, GitHub mirror, Windows unsigned for now). - **`.github/workflows/release.yml`** (GitHub only; Gitea reads `.gitea/workflows`): on a `v*` tag from the mirror, waits up to 30 min for Gitea's Release, checks `SHA256SUMS.minisig` with the release key and every file with `sha256sum --strict -c`, then makes the GitHub Release (same notes and files, `#N` linked to Gitea) and pushes `ghcr.io/coffey-labs/cairnobs:<version>` with `scripts/build-image.sh` from the checked binaries; a final release also moves `:latest`. Gated on `vars.BUILD_ON == 'github'` so mirror.sh accepts it. Actions pinned by SHA (checkout v7.0.1, setup-buildx v4.4.0). `workflow_dispatch` with a tag publishes one again. - **Docs and manifests** name the public image: docs/kubernetes.md ("The image": pull, `skopeo copy --all` to your registry, or build), docs/container.md run and upgrade lines, kustomize base `newName`, the `join.image` example. - **Containerfile** labels: `org.opencontainers.image.source` (Gitea) and `.documentation` (docs.cairnobs.org). - "Private until launch" removed from README, `.gitea/workflows/release.yml` and `build-image.sh`. The workflow's first real run is the v0.1.0 tag; its download-and-verify part gets a dry run against rc.8 once the repo is public, before tagging.
jcoffey-dev added 1 commit 2026-11-15 20:43:07 +00:00
Launch: public image on GHCR, GitHub's copy of each release
ci / check (pull_request) Successful in 5m36s
ci / postgres (pull_request) Successful in 10m53s
52e527d727
.github/workflows/release.yml runs on GitHub when a v* tag arrives through
the mirror: it waits for Gitea's Release, checks SHA256SUMS's signature and
every file against it, copies the Release to GitHub and builds the server
image from those same binaries as ghcr.io/coffey-labs/cairnobs:<version>
(and :latest for a final release). Gitea doesn't read .github/workflows,
and every job waits on BUILD_ON=github like the other mirrored repos.

The docs, the kustomize base and the join.image example now name that
image; the image's labels point at the source and the docs. The
"Private until launch" lines are gone.
jcoffey-dev merged commit 95295257b4 into main 2026-11-15 20:54:22 +00:00
jcoffey-dev deleted branch launch 2026-11-15 20:54:22 +00:00
Sign in to join this conversation.