File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -4,8 +4,8 @@ UI_IMAGE = quay.io/ztpfw/ui
44BRANCH := $(shell git for-each-ref --format='% (objectname) %(refname:short)' refs/heads | awk "/^$$(git rev-parse HEAD ) / {print \$$2}" | tr '[:upper:]' '[:lower:]' | tr '\/' '-')
55HASH := $(shell git rev-parse HEAD)
66RELEASE ?= latest
7- FULL_PIPE_IMAGE_TAG =$(PIPE_IMAGE ) :$(RELEASE )
8- FULL_UI_IMAGE_TAG =$(UI_IMAGE ) :$(RELEASE )
7+ FULL_PIPE_IMAGE_TAG =$(PIPE_IMAGE ) :$(BRANCH )
8+ FULL_UI_IMAGE_TAG =$(UI_IMAGE ) :$(BRANCH )
99EDGECLUSTERS_FILE ?= ${PWD}/hack/deploy-hub-local/edgeclusters.yaml
1010PULL_SECRET ?= ${HOME}/openshift_pull.json
1111OCP_VERSION ?= 4.10.13
@@ -62,10 +62,10 @@ build-ui-image-ci:
6262 podman build --ignorefile $(CI_FOLDER ) /.containerignore --platform linux/amd64 -t $(UI_IMAGE ) :$(RELEASE ) -f $(CI_FOLDER ) /Containerfile.UI .
6363
6464push-pipe-image-ci : build-pipe-image-ci
65- podman push $(PIPE_IMAGE ) :$(BRANCH )
65+ podman push $(PIPE_IMAGE ) :$(RELEASE )
6666
6767push-ui-image-ci : build-ui-image-ci
68- podman push $(UI_IMAGE ) :$(BRANCH )
68+ podman push $(UI_IMAGE ) :$(RELEASE )
6969
7070doc :
7171 bash build.sh
You can’t perform that action at this time.
0 commit comments