Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Protect official registry when pulling during builds
Ensure that registries missing hostname specified during builds will be pulled from official registry. If the official registry is blocked, the pull will fail. All the other pull jobs shall set `protectOfficialRegistry` env variable to `false` in order for additional registires added with `--add-registry` to have any effect. Prevent already pulled image to be updated from currently blocked registry. Also make sure that image tags can be operated upon when they miss the hostname part and docker has some additional repositories. Signed-off-by: Michal Minar <miminar@redhat.com>
- Loading branch information
Michal Minar
committed
Jan 29, 2015
1 parent
95bd20f
commit 7950901
Showing
6 changed files
with
29 additions
and
3 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
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
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