- Take a copy of the upstream
knative-vX.Y.Z
tag and create a new branch on this repo called fork-X.Y.Z
- Make any change on the
fork-X.Y.Z
branch, prepending the commit message with FORK:
- Use the GitHub interface to create a tag and release called
vX.Y.Z-deploykf.N
, where N
is an incremental number starting from 0
- On a local clone of that tag, run the following commands to build and push the images:
#
# WARNING: running this command will immediately push the images to the registry.
# update the `--tags` flag.
# ensure you have checked out the correct commit.
#
export KO_DOCKER_REPO="ghcr.io/deploykf/knative-net-certmanager"
ko resolve \
--platform "linux/arm64,linux/amd64" \
--sbom "none" \
--tags "X.Y.Z-deploykf.N" \
--base-import-paths \
-Rf config/ \
> /dev/null