fix gitignore, add makefile
This commit is contained in:
14
charts/nextcloud/Makefile
Normal file
14
charts/nextcloud/Makefile
Normal file
@@ -0,0 +1,14 @@
|
||||
VERSION := $(shell yq -r .version Chart.yaml)
|
||||
|
||||
build_only:
|
||||
helm dependency build
|
||||
helm package .
|
||||
|
||||
cleanup:
|
||||
rm -r charts
|
||||
rm nextcloud-${VERSION}.tgz
|
||||
|
||||
build: build_only cleanup
|
||||
|
||||
push:
|
||||
helm push nextcloud-${VERSION}.tgz oci://git.djf.lol/davidfrickert/nextcloud
|
||||
Reference in New Issue
Block a user