Make the curl command for pulling follow redirects
This commit is contained in:
parent
b234019a02
commit
6cac237075
1 changed files with 1 additions and 1 deletions
|
@ -426,7 +426,7 @@ function RepoCtrl($scope, $sanitize, Restangular, ImageMetadataService, ApiServi
|
|||
});
|
||||
|
||||
if ($scope.currentTag) {
|
||||
var squash = 'curl -f ' + Config.getHost('ACCOUNTNAME:PASSWORDORTOKEN');
|
||||
var squash = 'curl -L -f ' + Config.getHost('ACCOUNTNAME:PASSWORDORTOKEN');
|
||||
squash += '/c1/squash/' + namespace + '/' + name + '/' + $scope.currentTag.name;
|
||||
squash += ' | docker load';
|
||||
|
||||
|
|
Reference in a new issue