From 74ff6bfe1a17aec628004ba414ac309c42ca65ae Mon Sep 17 00:00:00 2001 From: Christian Simon Date: Fri, 13 Dec 2024 10:40:46 +0000 Subject: [PATCH] Github actions require docker compose subcommand --- examples/examples_test.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/examples/examples_test.go b/examples/examples_test.go index d24db0bf2a..fb1d918468 100644 --- a/examples/examples_test.go +++ b/examples/examples_test.go @@ -48,8 +48,9 @@ func (e *env) projectName() string { func (e *env) newCmd(ctx context.Context, args ...string) *exec.Cmd { c := exec.CommandContext( ctx, - "docker-compose", + "docker", append([]string{ + "compose", "--file", e.path, "--project-directory", e.dir, "--project-name", e.projectName(),