Skip to content

OPERATOR_IMG hardcoded via awk in Dockerfile blocks clean builds from a fork #221

Description

@mobs75

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.)

Metadata

Metadata

Assignees

Labels

questionFurther information is requested

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions