mirror of
https://example.com
synced 2024-11-26 03:56:39 +09:00
25 lines
735 B
Makefile
25 lines
735 B
Makefile
.PHONY: all
|
|
all: shellcheck build_image
|
|
|
|
|
|
.PHONY: shellcheck
|
|
shellcheck:
|
|
shellcheck --external-sources update.sh
|
|
shellcheck --external-sources neko/update/main.sh
|
|
shellcheck --external-sources neko/update/patch.sh
|
|
shellcheck --external-sources neko/update/container.sh
|
|
shellcheck --external-sources neko/update/native.sh
|
|
shellcheck --external-sources --exclude=SC2148 neko/update/utils
|
|
|
|
|
|
.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)" \
|
|
.
|