Skip to content

Commit

Permalink
Makefile: Target bundle-build requires bundle
Browse files Browse the repository at this point in the history
If one calls make bundle-build without a make bundle beforehand, it will
error out:

$ make bundle-build
docker build -f bundle.Dockerfile -t openshift-sandboxed-containers-operator-bundle:v1.3.2 .
unable to prepare context: unable to evaluate symlinks in Dockerfile path: lstat sandboxed-containers-operator/bundle.Dockerfile: no such file or directory

Signed-off-by: Eduardo Lima (Etrunko) <etrunko@redhat.com>
  • Loading branch information
etrunko committed Dec 21, 2022
1 parent ef92c21 commit 11c6bd8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ bundle: manifests kustomize ## Generate bundle manifests and metadata, then vali
operator-sdk bundle validate ./bundle

.PHONY: bundle-build
bundle-build: ## Build the bundle image.
bundle-build: bundle ## Build the bundle image.
docker build -f bundle.Dockerfile -t $(BUNDLE_IMG) .

.PHONY: bundle-push
Expand Down

0 comments on commit 11c6bd8

Please sign in to comment.