Skip to content
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

Add auth to jib-gradle-plugin. #215

Closed
coollog opened this issue Apr 9, 2018 · 0 comments
Closed

Add auth to jib-gradle-plugin. #215

coollog opened this issue Apr 9, 2018 · 0 comments

Comments

@coollog
Copy link
Contributor

coollog commented Apr 9, 2018

Add configuration to use raw credentials directly in the plugin configuration as such:

jib {
  from {
    image = 'gcr.io/my-gcp-project/my-base-image'
    auth {
      username = SOME_USERNAME
      password = SOME_PASSWORD
    }
  }
}

The auth should be specific to the base image. SOME_USERNAME and SOME_PASSWORD can be a raw string, but should be defined in gradle.properties and not committed to VC.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant