diff --git a/Makefile b/Makefile index bf74f0de1..e2fd5b8b3 100644 --- a/Makefile +++ b/Makefile @@ -164,7 +164,11 @@ ci-images-build: image-build $(OCI_BIN) build --build-arg BASE_IMAGE=$(IMG) -t $(IMG_SHA) -f ./shortlived.Dockerfile . image-push: ## Push OCI image with the manager. +ifneq (,$(findstring quay.io/netobserv/,$(IMG))) + $(error Do not push to quay.io/netobserv) +else $(OCI_BIN) push ${IMG} +endif ##@ Deployment diff --git a/RELEASE.md b/RELEASE.md index 9a5ebdc8a..f038a4ab8 100644 --- a/RELEASE.md +++ b/RELEASE.md @@ -58,7 +58,7 @@ The release script should be triggered ([check github actions](https://github.co At this point, you can test the bundle / catalog on your cluster: ```bash -VERSION="$version" make catalog-deploy +BUNDLE_VERSION="$version" make catalog-deploy ``` When everything is ok, push to main and delete the test branch