-
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
Push to JFrog fails when using --reproducible in v1.8.0 #1981
Comments
Facing the same issue. |
This is also the case when not using the "--reproducible" flag when using Artifactory. |
I can reproduce the same, as soon as the --reproducible flag is not set anymore, I can push to artifactory. |
I think I found the root cause(?) and it seems to be similar to GoogleContainerTools/jib#534
The reproducible tar for this image would produce a
while an image created without the flag would also have in the history field the entry
Adding the entry to the file and pushing the image again artifactory accepts it. As a side note, the following docker file works with the reproducible flag:
Edit: It seems like the history always loses the last element when using the reproducible flag |
With version v1.9.1 the problem persists. |
With version v1.6.0 the flag: "--reproducible", works. |
It looks like this issue was fixed with the release of 1.9.2 |
Actual behavior
With the introduction of version v1.8.0 we started to experience issues with our kaniko based builds which seem to be linked to the flag
--reproducible
:When omitting
--reproducible
the image ends up being pushed without further issues.Build & push using docker cli works normally.
With a
registry:2
as destination the push also works as expected.Expected behavior
Pushing the built image to registry works like before v1.8.0.
To Reproduce
Additional Information
Triage Notes for the Maintainers
--cache
flagThe text was updated successfully, but these errors were encountered: