-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Failing UP-TO-DATE checks for jib-gradle-plugin #4250
Comments
This is intentional, because the purpose of But at least Jib caches all the necessary assets including image layers, so subsequent |
Ah I see, that actually makes sense. Unless theres a way for gradle to do the up-to-date check towards the docker engine (like checking with |
Environment:
Description of the issue:
Gradles build cache seem to be unsupported causing the build to always create a new image, even if no sources are changed.
This can be seen in the logs when running
gradlew jibDockerBuild --info
Expected behavior:
Running the same command twice should not create a new image the second time
Eg, this should be in the logs:
Steps to reproduce:
jibDockerBuild
)Log output:
Additional Information:
Up-to-date checks in gradle are typically done by specifying a field on the task marked with one of the
@Output
annotations, see this page: https://docs.gradle.org/current/userguide/implementing_custom_tasks.html#sec:task_groupsIt looks like the following properties should be marked as outputs:
The text was updated successfully, but these errors were encountered: