Alexander Belanger 4 лет назад
Родитель
Сommit
714ce6ab93
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      cli/cmd/docker/auth.go

+ 1 - 1
cli/cmd/docker/auth.go

@@ -155,7 +155,7 @@ func (a *AuthGetter) GetECRCredentials(serverURL string, projID uint) (user stri
 		// get a token from the server
 		tokenResp, err := a.Client.GetECRAuthorizationToken(context.Background(), projID, &types.GetRegistryECRTokenRequest{
 			Region:    matches[3],
-			AccountID: matches[0],
+			AccountID: matches[1],
 		})
 
 		if err != nil {