image: OCI labels on the server and relay images #637

Merged
jcoffey-dev merged 1 commits from build/oci-labels into main 2026-11-25 06:19:52 +00:00
Owner

The server and relay images had no labels saying what they are, so registries and directories showed no description, licence or source.

  • Dockerfile and Dockerfile.relay: OCI labels for title ("inbuxa server", "inbuxa Relay"), description (from the README and the relay docs page), url, documentation (docs.inbuxa.org; /run/relay/ for the relay), source (Gitea), licenses: AGPL-3.0-only, vendor Coffey Labs LLC, version (INBUXA_VERSION) and revision (INBUXA_REVISION). The block sits last in each final stage, after every RUN and COPY, so a new version or commit never costs a cached layer. The debian and scratch bases set no labels of their own.
  • GitHub publish and relay-publish jobs: pass INBUXA_VERSION (the job's VERSION) and the commit. The relay build passed no build args before.
  • Gitea publish.yml (the fallback when BUILD_ON isn't github): the two server builds and the relay build pass the same pair.

Not built locally, since the release build is heavy. docker buildx build --check passes on both Dockerfiles, and both workflow files parse. The first tag after this lands shows the labels. A packaging-metadata change only, nothing in the binary.

The server and relay images had no labels saying what they are, so registries and directories showed no description, licence or source. - **Dockerfile and Dockerfile.relay:** OCI labels for title ("inbuxa server", "inbuxa Relay"), description (from the README and the relay docs page), url, documentation (docs.inbuxa.org; `/run/relay/` for the relay), source (Gitea), `licenses: AGPL-3.0-only`, vendor Coffey Labs LLC, version (`INBUXA_VERSION`) and revision (`INBUXA_REVISION`). The block sits last in each final stage, after every `RUN` and `COPY`, so a new version or commit never costs a cached layer. The debian and scratch bases set no labels of their own. - **GitHub `publish` and `relay-publish` jobs:** pass `INBUXA_VERSION` (the job's `VERSION`) and the commit. The relay build passed no build args before. - **Gitea `publish.yml`** (the fallback when `BUILD_ON` isn't github): the two server builds and the relay build pass the same pair. Not built locally, since the release build is heavy. `docker buildx build --check` passes on both Dockerfiles, and both workflow files parse. The first tag after this lands shows the labels. A packaging-metadata change only, nothing in the binary.
jcoffey-dev added 1 commit 2026-11-25 06:06:23 +00:00
image: OCI labels on the server and relay images
ci / fork-checks (pull_request) Skipped
ci / build (pull_request) Skipped
github/ci (branch) GitHub Actions
ci / github (pull_request) Successful in 13m14s
c49a8ed920
Neither image said what it is: no title, description, licence or source.
Both now carry labels, last in the final stage, with the version and the
commit passed by both release builds.
jcoffey-dev merged commit cf7e21b460 into main 2026-11-25 06:19:52 +00:00
jcoffey-dev deleted branch build/oci-labels 2026-11-25 06:19:52 +00:00
Sign in to join this conversation.