Documentation
¶
Overview ¶
bintool-vendor reads a vendored-tool descriptor (vendors/<name>.yaml), downloads the upstream binary for darwin/linux × amd64/arm64, verifies SHA256 checksums, extracts each binary, and shells out to `otters bin build` (and optionally `otters bin push`) to package the result as an OCI BIN image.
The descriptor schema supports multiple versions per tool. Top-level fields are defaults; each entry under `versions:` may override any of them. Each version is published as its own image with one tag per alias declared on it. The first entry in `versions:` implicitly gets the `latest` alias if no other version claims it.
Usage:
bintool-vendor -descriptor vendors/jq.yaml -registry ghcr.io/openotters/tools \
[-version 1.8.1] [-out /tmp/otters-bin] [-otters otters] [-push]
Click to show internal directories.
Click to hide internal directories.