Skip to content

Commit

Permalink
Adding latest tag for catalog index image
Browse files Browse the repository at this point in the history
Signed-off-by: Varad Ahirwadkar <[email protected]>
  • Loading branch information
varad-ahirwadkar committed Dec 8, 2024
1 parent 4aad833 commit b18094d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -310,10 +310,11 @@ catalog-build: opm ## Build a catalog image.
echo "FROM quay.io/operator-framework/opm:$(OPM_VERSION)-ppc64le" >> $(TMP_DIR).Dockerfile
cat catalog/Dockerfile_final_stage >> $(TMP_DIR).Dockerfile
## Building catalog image
$(CONTAINER_TOOL) build -f $(TMP_DIR).Dockerfile -t $(CATALOG_IMG) .
rm -rf $(TMP_DIR)
$(CONTAINER_TOOL) build -f $(TMP_DIR).Dockerfile -t $(CATALOG_IMG) -t $(IMAGE_TAG_BASE)-catalog:latest .
rm -rf $(TMP_DIR)*

# Push the catalog image.
.PHONY: catalog-push
catalog-push: ## Push a catalog image.
$(MAKE) docker-push IMG=$(IMAGE_TAG_BASE)-catalog
$(MAKE) docker-push IMG=$(CATALOG_IMG)

0 comments on commit b18094d

Please sign in to comment.