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 Image doesn't get tagged properly #23

Closed
taraxe opened this issue Aug 27, 2014 · 4 comments
Closed

Docker Image doesn't get tagged properly #23

taraxe opened this issue Aug 27, 2014 · 4 comments

Comments

@taraxe
Copy link

taraxe commented Aug 27, 2014

Hello folks,

I guess I have found a bug using the plugin.

In my conf.yml I have a line :
tag: XXX/YYY:${project.artifactId}-${project.version}

But the image gets tagged :
REPOSITORY TAG IMAGE ID CREATED
XXX/YYY ${project.artifactId}-${project.version} c53dea9ae48d 10 seconds ago

I use plugin version 1.4.0 with docker 1.2.0 and client 1.14.

Cheers,
Antoine

@alexec
Copy link
Owner

alexec commented Aug 27, 2014

ex-collinss-macbook:~ alexc$ docker tag

Usage: docker tag [OPTIONS] IMAGE [REGISTRYHOST/][USERNAME/]NAME[:TAG]

@taraxe
Copy link
Author

taraxe commented Aug 27, 2014

The maven docker:package goal isn't supposed to tag the image ?
It does but without substituing maven properties.

Regards,
Antoine

@rameshthummala
Copy link

taraxe, You could use the maven resource plugin filtering to instantiate the maven properties in the yml file and then use it to tag.

@alexec
Copy link
Owner

alexec commented Oct 14, 2014

should be fixed in 2.0.2

@alexec alexec closed this as completed Oct 14, 2014
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

No branches or pull requests

3 participants