Files
helm-charts/charts/nextcloud/Makefile

18 lines
322 B
Makefile

VERSION := $(shell yq -r .version Chart.yaml)
build_only:
helm package . --dependency-update
push_only:
helm push nextcloud-${VERSION}.tgz oci://git.djf.lol/davidfrickert/nextcloud
build_cleanup:
rm -r charts
push_cleanup:
rm nextcloud-${VERSION}.tgz
build: build_only build_cleanup
push: push_only push_cleanup