OMR 2.0.x users run `mirror-registry install|upgrade|uninstall`; OMR 3.0
shipped the same CLI as `quay`, which also collides with the Quay product
name. Rename the binary and its entrypoint so the command name is
consistent across versions.
- Makefile: GO_BINARY_NAME and GO_CMD_DIR; cmd/quay moves to
cmd/mirror-registry.
- Dockerfile.mirror: build output and ENTRYPOINT.
- cmd package: BinaryName constant used for the root command and the
version output; user-facing error hints that named `quay init` /
`quay install` / `quay db upgrade` (now `mirror-registry install`, the command that upgrades an existing schema).
- ci-go.yaml: artifact name and every bin/quay invocation.
Unchanged: systemd unit quay.service, Quadlet quay.container, default
data directory /var/lib/quay, image quay.io/quay/quay-mirror, and the Go
module path.
Establish Go development infrastructure for the quay/quay repository:
- Add cmd/quay/main.go entrypoint following quay-distribution pattern
- Add go.mod for github.com/quay/quay (Go 1.24.12)
- Add .golangci.yml adapted from quay-distribution with config-tool/ excluded
- Add .github/workflows/go.yaml with lint, build, and test jobs
- Add go-build/test/fmt/vet/clean Makefile targets (not wired into existing build)
- Update .gitignore and .dockerignore for Go build artifacts
Signed-off-by: Brady Pratt <bpratt@redhat.com>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>