mirror of
https://example.com
synced 2024-11-22 06:56:38 +09:00
dev: add Makefile
This commit is contained in:
parent
55514bace4
commit
468073cba8
1 changed files with 15 additions and 0 deletions
15
Makefile
Normal file
15
Makefile
Normal 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)" \
|
||||
.
|
Loading…
Reference in a new issue