You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description of the issue:
I have the AWS docker-credential-ecr-login installed using Brew, and I can execute the following command to get a secret token.
echo <repository_uri> | docker-credential-ecr-login get
But Jib throws the following error:
Execution failed for task ':jib'.
> com.google.cloud.tools.jib.plugins.common.BuildStepsExecutionException: The system does not have docker-credential-ecr-login CLI
Steps to reproduce:
Run ./gradlew jib
jib-gradle-plugin Configuration:
jib {
from {
image = "openjdk:alpine"
}
to {
image = <repository_uri>
setCredHelper("ecr-login")
tags = setOf("latest")
}
}
The text was updated successfully, but these errors were encountered:
You configured a credential helper, but the helper is not on $PATH. This is especially common when running Jib inside IDE where the IDE binary is launched directly from an OS menu and does not have access to your shell's environment.
If everything else fails, as a last resort, you can always set the absolute path of your docker-credential-ecr-login:
This parameter can either be configured as an absolute path to the credential helper executable or as a credential helper suffix (following docker-credential-).
Environment:
Description of the issue:
I have the AWS docker-credential-ecr-login installed using Brew, and I can execute the following command to get a secret token.
But Jib throws the following error:
Steps to reproduce:
Run
./gradlew jib
jib-gradle-plugin
Configuration:The text was updated successfully, but these errors were encountered: