Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow to supply env to oci_image as a file (e.g. stamped). #264

Merged
merged 3 commits into from
Jun 22, 2023

Conversation

sfc-gh-ptabor
Copy link
Contributor

@sfc-gh-ptabor sfc-gh-ptabor commented Jun 13, 2023

Fixes: #261

This PR is breaking API of oci_image_rule, as the env parameter changes the supported type from "dict" into ":label".
I assume this is OK, as oci_image_rule is an internal implementation detail of public interface of 'oci_image'.

If it's not OK, I will prepare a variant that adds env_file as a sibling parameter to env.

TODO:

  • Implement test coverage/example for the stamped config.

This PR is breaking API of oci_image_rule, as the env parameter changes the
supported type from "dict" into ":label".
I assume this is OK, as oci_image_rule is an internal implementation detail of
public interface of 'oci_image'.
@thesayyn thesayyn merged commit 0d4160e into bazel-contrib:main Jun 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

oci_image support for env file/label
2 participants