KubeZero/Makefile
Stefan Reimer 352221eb26 Squashed '.ci/' changes from 2c44e4fd..a3928364
a3928364 feat: migrate all buildah cmds to podman only
d67a80e9 feat: make push and rm-image more resilient, prevent exit codes
8e202d4f fix: do not add non-existent images
6ef8d28d feat: ensure bash and safe exec
06fcff50 feat: improve image cleanup to incl. all tags and repositories
47b4da4b feat: add suport for trivyignore file

git-subtree-dir: .ci
git-subtree-split: a3928364782156003f828ee4639d12b51bb5d9d9
2024-10-28 16:20:49 +00:00

26 lines
615 B
Makefile

REGISTRY := public.ecr.aws/zero-downtime
IMAGE := kubezero-admin
REGION := us-east-1
# Use KubeZero chart version rather than git tag for admin image
GIT_TAG = v$(shell yq .version < charts/kubezero/Chart.yaml)
# Also tag as Kubernetes major version
EXTRA_TAGS = $(shell echo $(GIT_TAG) | awk -F '.' '{ print $$1 "." $$2 }')
include .ci/podman.mk
update-charts:
./scripts/update_helm.sh
update-chart-docs:
for c in charts/*; do \
[[ $$c =~ "kubezero-lib" ]] && continue ; \
[[ $$c =~ "kubeadm" ]] && continue ; \
helm-docs --skip-version-footer -c $$c ; \
done
publish-charts:
./scripts/publish.sh