fix(ci): bootstrap Compose without a GitHub token
This commit is contained in:
@@ -25,7 +25,7 @@ class IngressConfigTests(unittest.TestCase):
|
||||
file.write("# No repository secrets are read by this fixture.\n")
|
||||
path = file.name
|
||||
try:
|
||||
# docker/setup-compose-action supplies `compose` on runners without Docker.
|
||||
# CI installs standalone Compose; developer machines can use the Docker plugin.
|
||||
command = ["docker", "compose"] if shutil.which("docker") else [shutil.which("compose") or "docker-compose"]
|
||||
base = command + ["--env-file", path, "-f", "docker-compose.yml"]
|
||||
def render(extra):
|
||||
|
||||
Reference in New Issue
Block a user