diff --git a/packages/system/dashboard/Makefile b/packages/system/dashboard/Makefile index ac833bea0..44b6f278d 100644 --- a/packages/system/dashboard/Makefile +++ b/packages/system/dashboard/Makefile @@ -11,16 +11,13 @@ include ../../../hack/package.mk image: image-console image-token-proxy CONSOLE_REPO ?= https://github.com/cozystack/cozystack-ui.git -CONSOLE_REF ?= dd1ff0bdbd5e6e2fb6614fd1d831c4cb5c8f8025 +CONSOLE_BRANCH ?= main image-console: clone-console build-console update-values-console clean-console clone-console: rm -rf .tmp-cozystack-ui - git init .tmp-cozystack-ui - git -C .tmp-cozystack-ui remote add origin $(CONSOLE_REPO) - git -C .tmp-cozystack-ui fetch --depth 1 origin $(CONSOLE_REF) - git -C .tmp-cozystack-ui checkout FETCH_HEAD + git clone --depth 1 --branch $(CONSOLE_BRANCH) $(CONSOLE_REPO) .tmp-cozystack-ui build-console: docker buildx build .tmp-cozystack-ui \