(source: https://github.com/zparnold/k8s-docs-pr-botherer)
You'll need to fill in the GITHUB_TOKEN=
with a personal access token you generate.
Run with docker:
# The k8s-docs-pr-botherer image is <9 MB
docker run -e GITHUB_TOKEN='YOUR_NEW_GITHUB_TOKEN' quay.io/jimangel/k8s-docs-pr-botherer
Verify it worked by checking the last comment a few PRs with no CLA signed.
The multi-arch docker image I'm hosting is built using ko using a free quay.io repository.
Export the repo:
# used by ko to build / publish
export KO_DOCKER_REPO="quay.io/jimangel/k8s-docs-pr-botherer"
Before building the images, makes sure docker login
works to your repo (and you have write access).
Build the images (defaults to "latest" tag):
# create multi-platform image
ko publish --platform=all --bare .