Files
mc/vezha/README.md
T

2.3 KiB

vezha build recipe for minio/mc

This branch builds the container image git.vezha.io/para/minio-mc from the unmodified upstream source of minio/mc, which is archived upstream and no longer publishes images. The repository is an imported copy of minio/mc with all its tags. The vezha branch is an orphan branch that holds only the recipe.

Licence and source offer (AGPL-3.0)

The image ships the unmodified mc binary, licensed under the GNU Affero General Public License v3. The complete corresponding source is the tag named in PINS (UPSTREAM_RELEASE) in this public repository: https://git.vezha.io/para/mc/src/tag/<UPSTREAM_RELEASE>. Each image carries /licenses/LICENSE, /licenses/CREDITS and /licenses/SOURCE; SOURCE names the upstream URL, the release and commit, the tag URL, the recipe commit, the builder image digest, the Go module version and sum, and the sha256 of the binary. Nothing in this recipe patches the upstream source. A patch would make the binary a modified version and would need its own source offer.

Files

  • PINS: every pinned input. Builds refuse a missing, empty, duplicated or unknown key.
  • Dockerfile: stages pins, build and the final image; no BuildKit-only syntax.
  • gates.sh, check-image.sh, smoke.sh: the checks the workflow runs; SOURCE.tmpl is rendered into /licenses/SOURCE.
  • .gitea/workflows/release.yml: verify on every push, publish on vezha.

Image notes

The image runs as root and has no HEALTHCHECK: it is a run-to-completion CLI. The base image is BusyBox pinned by digest; the CA bundle is copied from the Go builder image.

Release procedure

A run on a branch other than vezha builds and verifies only and reads no secret. A run on vezha also publishes git.vezha.io/para/minio-mc:<tag>, where the tag is <lowercased UPSTREAM_RELEASE>-<first 12 of UPSTREAM_COMMIT>-r<first 8 of the recipe commit>. Tags are write-once, there is no latest, and consumers pin by digest. The run prints one line per image:

PUBLISHED git.vezha.io/para/minio-mc@sha256:<digest> tag=<tag> binary-sha256=<sha256>

To bump a pin, edit PINS on a branch, let the verify run go green, and fast-forward vezha; the new commit publishes a new tag. The publish step needs the repository secret REGISTRY_TOKEN (a Gitea token with the write:package scope) and optionally REGISTRY_USER.