Skip to content

Commit d047270

Browse files
Merge pull request #82 from lpiwowar/lpiwowar/container-tool
Use CONTAINER_TOOL in catalog and bundle targets
2 parents 2e170ee + f6b443f commit d047270

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,7 @@ bundle: manifests kustomize operator-sdk ## Generate bundle manifests and metada
336336

337337
.PHONY: bundle-build
338338
bundle-build: ## Build the bundle image.
339-
docker build -f bundle.Dockerfile -t $(BUNDLE_IMG) .
339+
$(CONTAINER_TOOL) build -f bundle.Dockerfile -t $(BUNDLE_IMG) .
340340

341341
.PHONY: bundle-push
342342
bundle-push: ## Push the bundle image.
@@ -373,7 +373,7 @@ endif
373373
# https://github.com/operator-framework/community-operators/blob/7f1438c/docs/packaging-operator.md#updating-your-existing-operator
374374
.PHONY: catalog-build
375375
catalog-build: opm ## Build a catalog image.
376-
$(OPM) index add --container-tool docker --mode semver --tag $(CATALOG_IMG) --bundles $(BUNDLE_IMGS) $(FROM_INDEX_OPT)
376+
$(OPM) index add --container-tool $(CONTAINER_TOOL) --mode semver --tag $(CATALOG_IMG) --bundles $(BUNDLE_IMGS) $(FROM_INDEX_OPT)
377377

378378
# Push the catalog image.
379379
.PHONY: catalog-push

0 commit comments

Comments
 (0)