diff --git a/.gitlab/Makefile b/.gitlab/Makefile deleted file mode 100644 index 4bcb9cd..0000000 --- a/.gitlab/Makefile +++ /dev/null @@ -1,9 +0,0 @@ -SHELL := /bin/bash - -IMAGE ?= $(shell cat IMAGE):$(shell cat VERSION) -IMAGE_LATEST ?= $(shell cat IMAGE):latest -PWD ?= $(shell pwd) - -include make/docker.makefile -include make/kaniko.makefile -include make/truenas.makefile diff --git a/.gitlab/make/docker.makefile b/.gitlab/make/docker.makefile deleted file mode 100644 index 4af850f..0000000 --- a/.gitlab/make/docker.makefile +++ /dev/null @@ -1,26 +0,0 @@ -.PHONY: docker-init -docker-init: - @touch VERSION - @touch IMAGE - -.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/.gitlab/make/kaniko.makefile b/.gitlab/make/kaniko.makefile deleted file mode 100644 index e69de29..0000000 diff --git a/.gitlab/make/truenas.makefile b/.gitlab/make/truenas.makefile deleted file mode 100644 index e69de29..0000000