Skip to content

matthogan/zc

Repository files navigation

cn

Operations related to containers.

Building

https://goreleaser.com/

brew install goreleaser make

Mac build

goreleaser build --snapshot --rm-dist --id darwin-amd64

or

make darwin-build

Linux build

goreleaser build --snapshot --rm-dist --id linux

or

make linux-build

Release

Releasing requires an api token. Github tokens can be generated in Developer settings.

git tag -a v0.1.0 -m "Release v0.1.0"
git push origin v0.1.0
GITHUB_TOKEN="..." goreleaser release

or

make release TAG=0.1.0

Quick Start

This shows how to:

  • download an image digest

See the Usage documentation for more commands.

See the CLI documentation for details on each command.

NOTE: you will need access to a container registry.

Detailed Usage

See the Usage documentation for more commands!

Registry Support

This project uses go-containerregistry for registry interactions.