-
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
[Gradle] Ability to specify absolute path of credential helper #925
Comments
Hi @anuraaga, Can you elaborate on what your exact use case is? Also, do you want this to be a configurable parameter in |
Hey - my use case is that a Gradle task automatically downloads the Being able to specify the exact path to the credential helper on a Gradle script would be great. From what I could tell, this might be trivial since this method in core exists that takes a |
I believe we can allow |
Hi @anuraaga , we've released version |
Thanks! Verified it works great. |
Description of the issue:
Currently it is only possible to specify the credential helper suffix (e.g., gcr). This requires an executable
docker-credential-gcr
to be on thePATH
. This manipulation of thePATH
may not be ideal, i.e., to allow builds to be reproducible on multiple environments.Expected behavior:
It is possible to specify the absolute path to a credential helper. I believe
jib-core
already supports passing ajava.nio.Path
and it just needs to be exposed.The text was updated successfully, but these errors were encountered: