Log into docker/buildah with credentials stored in vault.
| Name | Description | Required | Default |
|---|---|---|---|
secret_path |
The Vault secret path with the user/pass/registry fields. | true |
`` |
disable_logout |
Whether to logout after running the command. | false |
false |
Add the following to your pipeline.yml:
steps:
- command: ls
plugins:
- elastic/vault-docker-login#v0.7.0:
secret_path: 'secret/ci/elastic-<<your-repo>>/container-registry/<<credentials>>'
disable_logout: true