Fix non-library Dockerhub links
This commit is contained in:
parent
85ce3c6bb2
commit
126371f8a1
1 changed files with 1 additions and 1 deletions
|
@ -4271,7 +4271,7 @@ quayApp.directive('dockerfileCommand', function () {
|
|||
},
|
||||
|
||||
'': function(pieces) {
|
||||
var rnamespace = pieces.length == 1 ? '_' : pieces[0];
|
||||
var rnamespace = pieces.length == 1 ? '_' : 'u/' + pieces[0];
|
||||
var rname = pieces[pieces.length - 1].split(':')[0];
|
||||
return 'https://registry.hub.docker.com/' + rnamespace + '/' + rname + '/';
|
||||
}
|
||||
|
|
Reference in a new issue