The operator image name is extracted via awk from the Dockerfile (ARG OPERATOR_IMAGE_DEFAULT=...) instead of being parameterized, which prevents clean builds from a fork without a manual workaround.
Current workaround:
OPERATOR_IMG=ghcr.io/<fork>/openserverless-operator task build
docker tag ghcr.io/<fork>/openserverless-operator:<tag> <expected-namespace>/openserverless-operator:<tag>
It would help contributors working from forks if OPERATOR_IMG were a proper Taskfile variable with a sane default, rather than being derived by parsing the Dockerfile with awk.
(Relevant files: olaris-op/Dockerfile, Taskfile build target.)
The operator image name is extracted via
awkfrom the Dockerfile (ARG OPERATOR_IMAGE_DEFAULT=...) instead of being parameterized, which prevents clean builds from a fork without a manual workaround.Current workaround:
It would help contributors working from forks if
OPERATOR_IMGwere a proper Taskfile variable with a sane default, rather than being derived by parsing the Dockerfile with awk.(Relevant files:
olaris-op/Dockerfile, Taskfile build target.)