dev: add Makefile

This commit is contained in:
naskya 2024-01-07 07:02:43 +09:00
parent 55514bace4
commit 468073cba8
Signed by: naskya
GPG key ID: 712D413B3A9FED5C

15
Makefile Normal file
View file

@ -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)" \
.