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

Adds SourceImage and has Jib#from also take RegistryImage. #996

Merged
merged 36 commits into from
Sep 19, 2018

Conversation

coollog
Copy link
Contributor

@coollog coollog commented Sep 17, 2018

Regards #987 (comment)

@@ -39,7 +39,7 @@
* credentials are valid push credentials for the repository specified via the image reference.
*/
// TODO: Add tests once JibContainerBuilder#containerize() is added.
public class RegistryImage implements TargetImage {
public class RegistryImage implements SourceImage, TargetImage {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

With this change, the Javadoc needs to be updated too. For example, "Builds to a container registry", "which registry to push the image to", "the namespace to push the image to".

@coollog coollog requested a review from a team September 18, 2018 18:07
@coollog coollog merged commit 2329a2b into master Sep 19, 2018
@coollog coollog deleted the base-image-credential branch September 19, 2018 03:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants