-
Notifications
You must be signed in to change notification settings - Fork 522
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
Not able to override Image Name in Simple Dockerfile Mode with jkube.generator.name
#624
Comments
rohanKanojia
added a commit
to rohanKanojia/jkube
that referenced
this issue
Mar 26, 2021
…file Mode with `jkube.generator.name` Modify Mojos logic to consider image name configured from properties
rohanKanojia
added a commit
to rohanKanojia/jkube
that referenced
this issue
Mar 26, 2021
…file Mode with `jkube.generator.name` Modify Mojos logic to consider image name configured from properties
Merged
12 tasks
rohanKanojia
added a commit
to rohanKanojia/jkube
that referenced
this issue
Mar 29, 2021
…file Mode with `jkube.generator.name` Modify Mojos logic to consider image name configured from properties
rohanKanojia
added a commit
to rohanKanojia/jkube
that referenced
this issue
Mar 29, 2021
…file Mode with `jkube.generator.name` Modify Mojos logic to consider image name configured from properties
rohanKanojia
added a commit
to rohanKanojia/jkube
that referenced
this issue
Mar 31, 2021
…file Mode with `jkube.generator.name` Modify Mojos logic to consider image name configured from properties
rohanKanojia
added a commit
to rohanKanojia/jkube
that referenced
this issue
Mar 31, 2021
…file Mode with `jkube.generator.name` Modify Mojos logic to consider image name configured from properties
manusa
pushed a commit
that referenced
this issue
Mar 31, 2021
…h `jkube.generator.name` Modify Mojos logic to consider image name configured from properties
@ghassen1khalil : We just released v1.2.0 which should fix your issue. Could you please try it out and provide feedback? |
@rohanKanojia I confirm that the release 1.2.0 fixed my bug 👍🏼 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When using simple Dockerfile mode, we're not able to override the default image name using
jkube.generator.name
property. Seems like we always assume image name to be group:artifact:latest in zero dockerfile mode and don't consider whetherjkube.generator.name
property is set or not, we do pass a defaultImageName but somehow it seems to be passed as null:https://github.com/eclipse/jkube/blob/fd9003cf04fd2bcd7407e87ffc30dbf41d8a24b7/jkube-kit/build/api/src/main/java/org/eclipse/jkube/kit/build/api/helper/DockerFileUtil.java#L249-L252
In order to reproduce this, you can go to quickstarts/maven/docker-file-simple and try overriding image name by adding some property. I noticed this when testing @ghassen1khalil sample: https://github.com/ghassen1khalil/jkube-error-reproducer
The text was updated successfully, but these errors were encountered: