diff --git a/.common/Makefile b/.common/Makefile new file mode 100644 index 0000000..0792771 --- /dev/null +++ b/.common/Makefile @@ -0,0 +1,27 @@ +SHELL := /bin/bash + +IMAGE ?= $(shell cat IMAGE):$(shell cat VERSION) +IMAGE_LATEST ?= $(shell cat IMAGE):latest +PWD ?= $(shell pwd) + +.PHONY: buildx-context +buildx-context: + docker buildx create --name arm64 --use --platform linux/amd64,linux/arm64 + +.PHONY: buildx-clear +buildx-clear: + docker buildx rm arm64 + +.PHONY: build +build: + docker buildx build --load . -t $(IMAGE) + @docker buildx build --load . -t $(IMAGE_LATEST) + +.PHONY: push +push: + docker buildx build --platform linux/amd64 --push . -t $(IMAGE) + @docker buildx build --platform linux/amd64 --push . -t $(IMAGE_LATEST) + +.PHONY: run +run: + docker run -it -v $(PWD):/mc_data $(IMAGE) bash diff --git a/Makefile b/Makefile index 0792771..c114817 100644 --- a/Makefile +++ b/Makefile @@ -1,27 +1 @@ -SHELL := /bin/bash - -IMAGE ?= $(shell cat IMAGE):$(shell cat VERSION) -IMAGE_LATEST ?= $(shell cat IMAGE):latest -PWD ?= $(shell pwd) - -.PHONY: buildx-context -buildx-context: - docker buildx create --name arm64 --use --platform linux/amd64,linux/arm64 - -.PHONY: buildx-clear -buildx-clear: - docker buildx rm arm64 - -.PHONY: build -build: - docker buildx build --load . -t $(IMAGE) - @docker buildx build --load . -t $(IMAGE_LATEST) - -.PHONY: push -push: - docker buildx build --platform linux/amd64 --push . -t $(IMAGE) - @docker buildx build --platform linux/amd64 --push . -t $(IMAGE_LATEST) - -.PHONY: run -run: - docker run -it -v $(PWD):/mc_data $(IMAGE) bash +include .common/Makefile diff --git a/helm/minecraft-logo.png b/helm/minecraft-logo.png new file mode 100644 index 0000000..d9ada6f Binary files /dev/null and b/helm/minecraft-logo.png differ diff --git a/helm/questions.yaml b/helm/questions.yaml index 8c187b6..0182ab7 100644 --- a/helm/questions.yaml +++ b/helm/questions.yaml @@ -6,6 +6,7 @@ groups: questions: - variable: server_version description: "Server Version" + label: "Version" group: "Server Config" schema: type: string