Skip to content

Commit

Permalink
Merge pull request #3421 from TomSweeneyRedHat/dev/tsweeney/pick2
Browse files Browse the repository at this point in the history
[release-1.22] Accept repositories on login/logout
  • Loading branch information
openshift-ci[bot] committed Aug 3, 2021
2 parents db98fd1 + 2d1b0f8 commit 71b8003
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
6 changes: 4 additions & 2 deletions cmd/buildah/login.go
Expand Up @@ -19,8 +19,10 @@ func init() {
var (
opts = loginReply{
loginOpts: auth.LoginOptions{
Stdin: os.Stdin,
Stdout: os.Stdout},
Stdin: os.Stdin,
Stdout: os.Stdout,
AcceptRepositories: true,
},
}
loginDescription = "Login to a container registry on a specified server."
)
Expand Down
3 changes: 2 additions & 1 deletion cmd/buildah/logout.go
Expand Up @@ -12,7 +12,8 @@ import (
func init() {
var (
opts = auth.LogoutOptions{
Stdout: os.Stdout,
Stdout: os.Stdout,
AcceptRepositories: true,
}
logoutDescription = "Remove the cached username and password for the registry."
)
Expand Down

0 comments on commit 71b8003

Please sign in to comment.