Skip to content
Discussion options

You must be logged in to vote

With #560 we migrated to ko which provides OCI artifacts.

By default, make build will generate a ko build for OCI, such as container images. By default, the KO_LOCAL variable is set to false, meaning you can use Skopeo or kind load docker-image.

If you want to push to your container registry, you can run something as:

make CONTAINER_REPOSITORY=your.container.registry.tld KO_PUSH=true build

Result will be something as:

LD_FLAGS="-X github.com/clastix/kamaji/internal.GitCommit=$(git rev-parse --short HEAD) -X github.com/clastix/kamaji/internal.GitTag=edge-25.03.1 -X github.com/clastix/kamaji/internal.GitDirty=$(echo "$(git diff $(git rev-parse --short HEAD) $(git rev-parse --short edge-25.…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@buzzlightyear2k
Comment options

@prometherion
Comment options

Answer selected by buzzlightyear2k
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #731 on March 20, 2025 16:53.