mirror of
https://github.com/containers/podman.git
synced 2025-11-29 01:28:22 +08:00
Merge pull request #27431 from nimdrak/27421
Fixed #27421 aritfact push and pull with authfile
This commit is contained in:
@@ -320,6 +320,7 @@ func PushArtifact(w http.ResponseWriter, r *http.Request) {
|
||||
}
|
||||
defer auth.RemoveAuthfile(authfile)
|
||||
|
||||
artifactsPushOptions.Authfile = authfile
|
||||
if authConf != nil {
|
||||
artifactsPushOptions.Username = authConf.Username
|
||||
artifactsPushOptions.Password = authConf.Password
|
||||
|
||||
Reference in New Issue
Block a user