Skip to content

Commit

Permalink
back
Browse files Browse the repository at this point in the history
Signed-off-by: Yi Rae Kim <[email protected]>
  • Loading branch information
yiraeChristineKim committed Nov 14, 2023
1 parent 3416d53 commit 9616dab
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/olm_tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
# TODO: Use operator-sdk run bundle and bundle-upgrade commands for
# testing with OLM.
OPERATOR_VERSION=$(awk '/^VERSION \?=/ {print $3}' Makefile)
REPO=http://localhost:5000
REPO=localhost:5000
IMG=${REPO}/gatekeeper-operator:${GITHUB_SHA}
PREV_BUNDLE_INDEX_IMG=quay.io/gatekeeper/gatekeeper-operator-bundle-index:$(make get-replaces-version)
make build-and-push-bundle-images IMG=${IMG} REPO=${REPO} VERSION=${GITHUB_SHA} OPERATOR_VERSION=${OPERATOR_VERSION}
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ DOCKER ?= docker
#
# For example, running 'make bundle-build bundle-push catalog-build catalog-push' will build and push both
# gatekeeper.sh/gatekeeper-operator-bundle:$VERSION and gatekeeper.sh/gatekeeper-operator-catalog:$VERSION.
REPO ?= localhost:5000
REPO ?= quay.io/gatekeeper
IMAGE_TAG_BASE ?= $(REPO)/gatekeeper-operator

# BUNDLE_IMG defines the image:tag used for the bundle.
Expand Down Expand Up @@ -376,7 +376,7 @@ endif
# Generate and push bundle image and bundle index image
# Note: OPERATOR_VERSION is an arbitrary number and does not need to match any official versions
.PHONY: build-and-push-bundle-images
build-and-push-bundle-images: # docker-build docker-push
build-and-push-bundle-images: docker-build docker-push
$(MAKE) bundle VERSION=$(OPERATOR_VERSION)
$(MAKE) bundle-build
$(MAKE) docker-push IMG=$(BUNDLE_IMG)
Expand Down

0 comments on commit 9616dab

Please sign in to comment.