Owen-CH-Leung commented on code in PR #830:
URL: https://github.com/apache/kafka-site/pull/830#discussion_r3031770750
##########
Makefile:
##########
@@ -1,11 +1,12 @@
# Hugo configuration
OUTPUT_DIR := output
-HUGO_BASE_IMAGE := hvishwanath/hugo:v0.123.7-ext-multiplatform
+HUGO_VERSION := 0.123.7
+HUGO_BASE_IMAGE :=
ghcr.io/apache/kafka-site/hugo:v$(HUGO_VERSION)-ext-multiplatform
DOCKER_IMAGE := $(HUGO_BASE_IMAGE)
#PROD_IMAGE := hvishwanath/kafka-site-md:1.2.0
PROD_IMAGE :=
us-west1-docker.pkg.dev/play-394201/kafka-site-md/kafka-site-md:1.6.0
Review Comment:
This was pre-existing in markdown HEAD and not introduced by this PR. I
wanted to flag it and ask for your comment before touching it.
`PROD_IMAGE` points to a personal GCP Artifact Registry
(`us-west1-docker.pkg.dev/play-394201/...`) and is used only by the
`prod-image` and `prod-run` Makefile targets — neither of which is called by
any CI workflow. These appear to be local development convenience targets for
building and running the nginx+site image locally.
Should we remove `PROD_IMAGE`, `prod-image`, and `prod-run` from the
Makefile since they depend on a personal registry that no other contributor can
push to? Or is there a legitimate use case for these targets that we should
preserve with an Apache-owned registry instead?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]