Merge pull request #27431 from nimdrak/27421

Fixed #27421 aritfact push and pull with authfile
This commit is contained in:
openshift-merge-bot[bot]
2025-11-06 10:08:39 +00:00
committed by GitHub
3 changed files with 53 additions and 0 deletions

View File

@@ -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