See https://gerrit.wikimedia.org/r/plugins/gitiles/wikimedia/toolhub/+/refs/heads/main/.pipeline/config.yaml for an example of a pipeline that would translate into using the .kokkuri:build-and-run-image job. That job uses buildctl with arguments --opt run-variant=true --opt entrypoint-args="${RUN_ARGUMENTS}" to build and run the image. Though we can pass arguments to the image entrypoint, there's no way to pass environment variables. Can we make that work?
Description
Description
Event Timeline
Comment Actions
dancy opened https://gitlab.wikimedia.org/repos/releng/blubber/-/merge_requests/39
blubber buildkit frontend: Support --opt run-variant-env
Comment Actions
dancy merged https://gitlab.wikimedia.org/repos/releng/blubber/-/merge_requests/39
blubber buildkit frontend: Support --opt run-variant-env