Skip to content

Commit 0683be1

Browse files
committed
Use consistent environment variable names
Signed-off-by: Edmund Ochieng <[email protected]>
1 parent 5d36eef commit 0683be1

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Makefile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ IMAGE_REPO := quay.io/operator-framework/operator-controller
1414
endif
1515
export IMAGE_REPO
1616

17-
ifeq ($(origin CATALOG_IMAGE_REPO), undefined)
18-
CATALOG_IMAGE_REPO := quay.io/operator-framework/catalogd
17+
ifeq ($(origin CATALOGD_IMAGE_REPO), undefined)
18+
CATALOGD_IMAGE_REPO := quay.io/operator-framework/catalogd
1919
endif
20-
export CATALOG_IMAGE_REPO
20+
export CATALOGD_IMAGE_REPO
2121

2222
ifeq ($(origin IMAGE_TAG), undefined)
2323
IMAGE_TAG := devel
@@ -30,7 +30,7 @@ LINUX_BINARIES=$(join $(addprefix linux/,$(CATALOGD_BINARIES)), )
3030
BUILDCMD = go build -tags '$(GO_BUILD_TAGS)' -ldflags '$(GO_BUILD_LDFLAGS)' -gcflags '$(GO_BUILD_GCFLAGS)' -asmflags '$(GO_BUILD_ASMFLAGS)' -o $(BUILDBIN)/$(notdir $@) ./cmd/$(notdir $@)
3131

3232
IMG := $(IMAGE_REPO):$(IMAGE_TAG)
33-
CATALOGD_IMG := $(CATALOG_IMAGE_REPO):$(IMAGE_TAG)
33+
CATALOGD_IMG := $(CATALOGD_IMAGE_REPO):$(IMAGE_TAG)
3434

3535
# Define dependency versions (use go.mod if we also use Go code from dependency)
3636
export CERT_MGR_VERSION := v1.15.3
@@ -356,7 +356,7 @@ export GORELEASER_ARGS
356356

357357
.PHONY: release
358358
release: $(GORELEASER) #EXHELP Runs goreleaser for the operator-controller. By default, this will run only as a snapshot and will not publish any artifacts unless it is run with different arguments. To override the arguments, run with "GORELEASER_ARGS=...". When run as a github action from a tag, this target will publish a full release.
359-
OPERATOR_CONTROLLER_IMAGE_REPO=$(IMAGE_REPO) CATALOG_IMAGE_REPO=$(CATALOG_IMAGE_REPO) $(GORELEASER) $(GORELEASER_ARGS)
359+
OPERATOR_CONTROLLER_IMAGE_REPO=$(IMAGE_REPO) CATALOGD_IMAGE_REPO=$(CATALOGD_IMAGE_REPO) $(GORELEASER) $(GORELEASER_ARGS)
360360

361361
.PHONY: quickstart
362362
quickstart: export MANIFEST := https://github.com/operator-framework/operator-controller/releases/download/$(VERSION)/operator-controller.yaml

0 commit comments

Comments
 (0)