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
Add support for providing registry passwords via environment variables, which is particularly useful in CI pipelines. For example, GitLab stores registry passwords in the CI_REGISTRY_PASSWORD environment variable.
With the --password-env flag, authenticating to a registry is as simple as:
Description
Add support for providing registry passwords via environment variables, which is particularly useful in CI pipelines. For example, GitLab stores registry passwords in the
CI_REGISTRY_PASSWORD
environment variable.With the
--password-env
flag, authenticating to a registry is as simple as:Alternatives Considered
Using
docker login -p "${VAR}"
with warning suppressionPassing passwords via STDIN (current recommended method):
Avoids warnings but adds complexity to command chains
The text was updated successfully, but these errors were encountered: