Add tasks for releasing

This commit is contained in:
Moto Ishizawa 2020-02-03 10:28:50 +09:00
parent 56fc3bcb2b
commit 4635a10778
1 changed files with 9 additions and 0 deletions

View File

@ -62,6 +62,15 @@ docker-build: test
docker-push:
docker push ${NAME}:${VERSION}
# Generate the release manifest file
release:
mkdir -p release
kustomize build config/default > release/actions-runner-controller.yaml
# Upload release file to GitHub.
github-release: release
ghr ${VERSION} release/
# find or download controller-gen
# download controller-gen if necessary
controller-gen: