Просмотр исходного кода

Add more auth methods for build - [skip actions]

Sebastien 2 лет назад
Родитель
Сommit
962dbf89c8
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      docker/build_tools.py

+ 1 - 1
docker/build_tools.py

@@ -886,7 +886,7 @@ def push_if_change(repo: Repository, token: str, source_path: str, manif_json):
         remote: Remote = repo.remotes['origin']
         auth_methods = ['x-access-token','x-oauth-basic']
         for method in auth_methods:
-            if push_with_method('x-access-token', token, remote, [reference]):
+            if push_with_method(auth_methods, token, remote, [reference]):
                 print(f'::notice Web installer updated for {format_artifact_from_manifest(manif_json)}')
                 return