Merge pull request 'Remove quotes from git config' (#870) from dboreham/fix-git-config-command into main
Webapp Test / Run webapp test suite (push) Failing after 4s
Details
Deploy Test / Run deploy test suite (push) Failing after 3s
Details
Publish / Build and publish (push) Failing after 5s
Details
Smoke Test / Run basic test suite (push) Failing after 3s
Details
Lint Checks / Run linter (push) Failing after 3s
Details
Webapp Test / Run webapp test suite (push) Failing after 4s
Details
Deploy Test / Run deploy test suite (push) Failing after 3s
Details
Publish / Build and publish (push) Failing after 5s
Details
Smoke Test / Run basic test suite (push) Failing after 3s
Details
Lint Checks / Run linter (push) Failing after 3s
Details
Reviewed-on: https://git.vdb.to/cerc-io/stack-orchestrator/pulls/870pull/734/head v1.1.0-a2d6201-202407051601
commit
a2d6201be9
|
|
@ -256,7 +256,7 @@ def build_container_image(app_record, tag, extra_build_args=[], logger=None):
|
||||||
if github_token:
|
if github_token:
|
||||||
logger.log("Github token detected, setting it in the git environment")
|
logger.log("Github token detected, setting it in the git environment")
|
||||||
git_config_args = [
|
git_config_args = [
|
||||||
"git", "config", "--global", f"url.\"https://{github_token}:@github.com/\".insteadOf", "https://github.com/"
|
"git", "config", "--global", f"url.https://{github_token}:@github.com/.insteadOf", "https://github.com/"
|
||||||
]
|
]
|
||||||
result = subprocess.run(git_config_args, stdout=logger.file, stderr=logger.file)
|
result = subprocess.run(git_config_args, stdout=logger.file, stderr=logger.file)
|
||||||
result.check_returncode()
|
result.check_returncode()
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue