-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
When using this command configuration :
DockerLogin(s => s
.SetServer(DockerRegistryServer)
.SetUsername(DockerRegistryUserName)
.SetPassword(DockerRegistryPassword)
.EnablePasswordStdin()
);
the command generated is :
docker login --password <MYPASS> --password-stdin --username <MYUSER> <MYREGISTRY>.azurecr.io
and the error messages are :
2018-11-07T10:19:51.2642236Z ##[error]WARNING! Using --password via the CLI is insecure. Use --password-stdin.
2018-11-07T10:19:51.2643599Z ##[error]--password and --password-stdin are mutually exclusive
2018-11-07T10:19:51.3433335Z ##[error]Process 'docker' exited with code 1. Verify the invocation.
the second one is the important here
A workaround will be not to use password stdin for now but i produce the password in our CI logs ... not so safe.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels