-
Notifications
You must be signed in to change notification settings - Fork 2
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
Custom property in image name breaks hierarchy determination #9
Comments
Hi, sorry for late replay. Hierarchy of images is tightly related to naming of the folder. In your case The hierarchy is broken because during analysing process the image As a workaround for your case you could use the name of the branch as a part of the image version and not the name. For example you could keep the current directory structure but update the config to:
and the With this configuration I was able to build your structure:
I hope it helps. |
Hi @jaroslaw-bochniak! I very much appreciate your reply, but I actually moved on and implemented my own mechanism. I achieved support for dynamic branch information as part of the image name (and not only within the tag). |
Hey,
for my use case I'm including the current branch name within the generated image name. So I use something like
FROM {{.DEFAULT_PULL_REGISTRY}}/base/{{.BRANCH}}:{{.BASE_VERSION}}
in child images (Full minimal testcase). When determining the hierarchy, this property does not seem to be evaluated properly:As a result, only
base
gets build, becausechild
is not being determined as a child ofbase
.The text was updated successfully, but these errors were encountered: