-
Notifications
You must be signed in to change notification settings - Fork 316
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
custom_build: add EXPECTED_{IMAGE,TAG,REGISTRY} env vars (#5743)
Currently, we pass `EXPECTED_REF`, which is the full image reference including registry, path, and tag. Some build scripts want to consume these independently, so in addition to passing the full reference, this adds the individual components as well. There's a slight behavior change here in that previously, the registry was passed as `REGISTRY_HOST` only in the case that `outputs_image_ref_to` mode was being used. Now, it's _always_ passed (if there is a local registry!) regardless of custom build mode along with `EXPECTED_REGISTRY`, which is new and duplicative but consistent with the other names. This should be harmless, however. Closes #5433.
- Loading branch information
Showing
2 changed files
with
70 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters