mirror of
https://github.com/cozystack/cozystack.git
synced 2026-11-09 22:13:18 +09:00
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Signed-off-by: Myasnikov Daniil <myasnikovdaniil2001@gmail.com>
28 lines
790 B
Makefile
28 lines
790 B
Makefile
export NAME=linstor-gui
|
|
export NAMESPACE=cozy-linstor
|
|
|
|
include ../../../hack/common-envs.mk
|
|
include ../../../hack/package.mk
|
|
|
|
LINSTOR_GUI_VERSION ?= 2.3.0
|
|
|
|
.PHONY: image image-linstor-gui test
|
|
|
|
image: image-linstor-gui
|
|
|
|
image-linstor-gui:
|
|
docker buildx build images/linstor-gui \
|
|
--build-arg LINSTOR_GUI_VERSION=$(LINSTOR_GUI_VERSION) \
|
|
$(call image-tags,linstor-gui,$(LINSTOR_GUI_VERSION)) \
|
|
$(call cache-args,linstor-gui) \
|
|
--metadata-file images/linstor-gui.json \
|
|
$(BUILDX_ARGS)
|
|
REPOSITORY="$(REGISTRY)/linstor-gui" \
|
|
yq -i '.image.repository = strenv(REPOSITORY)' values.yaml
|
|
TAG="$(IMAGE_TAG)@$$(yq e '."containerimage.digest"' images/linstor-gui.json -o json -r)" \
|
|
yq -i '.image.tag = strenv(TAG)' values.yaml
|
|
rm -f images/linstor-gui.json
|
|
|
|
test:
|
|
helm unittest .
|