mirror of
https://github.com/project-zot/zot.git
synced 2024-12-16 21:56:37 -05:00
build(zui): add a new env to set the path to a local build of zui (#2118)
Signed-off-by: Andreea-Lupu <andreealupu1470@yahoo.com>
This commit is contained in:
parent
f321fa91fe
commit
37988f13d5
1 changed files with 6 additions and 0 deletions
6
Makefile
6
Makefile
|
@ -24,6 +24,7 @@ CRICTL := $(TOOLSDIR)/bin/crictl
|
||||||
CRICTL_VERSION := v1.26.1
|
CRICTL_VERSION := v1.26.1
|
||||||
ACTION_VALIDATOR := $(TOOLSDIR)/bin/action-validator
|
ACTION_VALIDATOR := $(TOOLSDIR)/bin/action-validator
|
||||||
ACTION_VALIDATOR_VERSION := v0.5.3
|
ACTION_VALIDATOR_VERSION := v0.5.3
|
||||||
|
ZUI_BUILD_PATH := ""
|
||||||
ZUI_VERSION := commit-fad5572
|
ZUI_VERSION := commit-fad5572
|
||||||
ZUI_REPO_OWNER := project-zot
|
ZUI_REPO_OWNER := project-zot
|
||||||
ZUI_REPO_NAME := zui
|
ZUI_REPO_NAME := zui
|
||||||
|
@ -531,6 +532,11 @@ $(COSIGN):
|
||||||
.PHONY: ui
|
.PHONY: ui
|
||||||
ui:
|
ui:
|
||||||
echo $(BUILD_LABELS);\
|
echo $(BUILD_LABELS);\
|
||||||
|
if [ -n $(ZUI_BUILD_PATH) ]; then\
|
||||||
|
rm -rf ./pkg/extensions/build;\
|
||||||
|
cp -R $(ZUI_BUILD_PATH) ./pkg/extensions/;\
|
||||||
|
exit 0;\
|
||||||
|
fi;\
|
||||||
if [ -z $(ZUI_VERSION) ]; then\
|
if [ -z $(ZUI_VERSION) ]; then\
|
||||||
pwd=$$(pwd);\
|
pwd=$$(pwd);\
|
||||||
tdir=$$(mktemp -d);\
|
tdir=$$(mktemp -d);\
|
||||||
|
|
Loading…
Reference in a new issue