From 468073cba85cb56bb9c02f4a35b846b0156f2f30 Mon Sep 17 00:00:00 2001 From: naskya Date: Sun, 7 Jan 2024 07:02:43 +0900 Subject: [PATCH] dev: add Makefile --- Makefile | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 Makefile diff --git a/Makefile b/Makefile new file mode 100644 index 00000000..76fcca58 --- /dev/null +++ b/Makefile @@ -0,0 +1,15 @@ +.PHONY: all +all: build_image + + +.PHONY: build_image +build_image: + . neko/update/utils && \ + buildah build \ + --no-cache \ + --platform linux/amd64 \ + --build-arg "VERSION=$$(version_ci)" \ + --tag docker.io/naskya/firefish \ + --tag registry.code.naskya.net/naskya/firefish \ + --tag "registry.code.naskya.net/naskya/firefish:$$(version_ci | cut -d':' -f2)" \ + .