Explorar el Código

Add more auth methods for build - [skip actions]

Sebastien hace 2 años
padre
commit
962dbf89c8
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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