Skip to content

Commit 8074815

Browse files
committed
fix(Makefile): Properly revert changes in commit 0f63eb1
1 parent 9312852 commit 8074815

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

Makefile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ UI_IMAGE = quay.io/ztpfw/ui
44
BRANCH := $(shell git for-each-ref --format='%(objectname) %(refname:short)' refs/heads | awk "/^$$(git rev-parse HEAD)/ {print \$$2}" | tr '[:upper:]' '[:lower:]' | tr '\/' '-')
55
HASH := $(shell git rev-parse HEAD)
66
RELEASE ?= 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)
99
EDGECLUSTERS_FILE ?= ${PWD}/hack/deploy-hub-local/edgeclusters.yaml
1010
PULL_SECRET ?= ${HOME}/openshift_pull.json
1111
OCP_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

6464
push-pipe-image-ci: build-pipe-image-ci
65-
podman push $(PIPE_IMAGE):$(BRANCH)
65+
podman push $(PIPE_IMAGE):$(RELEASE)
6666

6767
push-ui-image-ci: build-ui-image-ci
68-
podman push $(UI_IMAGE):$(BRANCH)
68+
podman push $(UI_IMAGE):$(RELEASE)
6969

7070
doc:
7171
bash build.sh

0 commit comments

Comments
 (0)