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

[docker] Improve the way we extract image name and tag #2071

Merged
merged 1 commit into from
Dec 8, 2015

Conversation

hkaj
Copy link
Member

@hkaj hkaj commented Nov 12, 2015

No description provided.

@remh
Copy link

remh commented Nov 23, 2015

Thanks.
Can you write a unit test for this function please ?

@hkaj hkaj force-pushed the haissam/docker-image-tag-fix branch from bf65e56 to eaf1ea0 Compare November 25, 2015 17:11
@olivielpeau olivielpeau added this to the 5.6.3 milestone Dec 4, 2015
@hkaj hkaj force-pushed the haissam/docker-image-tag-fix branch 2 times, most recently from 34031a0 to 73e121d Compare December 4, 2015 21:43
({'Image': 'nginx:latest'}, ['nginx', 'latest']),
({'Image': 'localhost/nginx:latest'}, ['localhost/nginx', 'latest']),
({'Image': 'localhost:5000/nginx:latest'}, ['localhost:5000/nginx', 'latest']),
]
Copy link
Member

Choose a reason for hiding this comment

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

Can we add tests with RepoTags ?

Copy link
Member Author

Choose a reason for hiding this comment

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

yessir!

@yannmh
Copy link
Member

yannmh commented Dec 7, 2015

Added my feedback.

@hkaj hkaj force-pushed the haissam/docker-image-tag-fix branch from 73e121d to 8debbf1 Compare December 8, 2015 11:17
@hkaj
Copy link
Member Author

hkaj commented Dec 8, 2015

Thanks @yannmh I fixed a bunch of things and replied to your other comments, let me know what you think.

@yannmh
Copy link
Member

yannmh commented Dec 8, 2015

Feel free to merge 🌵

hkaj added a commit that referenced this pull request Dec 8, 2015
[docker] Improve the way we extract image name and tag
@hkaj hkaj merged commit 3f0883d into master Dec 8, 2015
@olivielpeau olivielpeau deleted the haissam/docker-image-tag-fix branch December 29, 2015 14:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants