-
Notifications
You must be signed in to change notification settings - Fork 28
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
Images are built with dirty tree state #431
Comments
@tim-ebert : actually, there is a configuration option |
@tim-ebert , as just discussed:
|
Thanks @ccwienk for your help. Indeed, it would be great to inject the version by setting the |
/touch |
@timebertt : I would like to add as a smallish update on the matter that since last week, it is possible to pass arguments to docker-build using the https://gardener.github.io/cc-utils/traits/publish.html#trait-publish |
Can we inject the effective version into docker builds then with this instead of via the version file? |
What would you like to be added:
Currently our Docker images are built with a dirty tree state.
I discovered this while looking into how the pipeline appends the commit hash to the version file (ref).
If the version file is the only thing we touch while building, I would propose to only use the
EFFECTIVE_VERSION
env var to compute the correct version inside the various build scripts/make targets instead of writing it to theVERSION
file.Why is this needed:
For example:
/cc @rfranzke
The text was updated successfully, but these errors were encountered: