ci: fix target for rootless image#6463
Conversation
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
| *.args.IMAGE_TARGET=${{ matrix.target }} | ||
| *.target=${{ matrix.target }} | ||
| *.args.EXPORT_BASE=${{ matrix.base }} | ||
| *.args.BUILDKITD_TAGS=${{ matrix.buildTags }} |
There was a problem hiding this comment.
Reusable workflows don't support the env object, and due to the isolation guarantees of the Docker GitHub Builder, we can't allow users to arbitrarily alter the runner environment. We might be able to support envs using a new input in the bake reusable workflow that would be only attached to buildx process.
There was a problem hiding this comment.
It should still be possible the set values for the variables of bake builds. These should not become env in the rest of the workflow, just passed to bake.
Or should we add smth like --var k=v in bake that can be used as an alternative way to set values instead of putting them in the env, together with BUILDX_BAKE_NO_ENV_ACCESS to make sure bake doesn't access some env that is defined by default?
fixes #6457