Hi Semaphore Team! 👋
https://github.com/docker/compose/releases/tag/v5.0.0 has released quite a while ago so the agent will fail creating the right compose commands while running (it could not fall back to docker-compose build et al. since that command/alias will also no longer exist, especially in new installs of the Docker engine stack,) cf
|
func (e *DockerComposeExecutor) composeExecutableAndArgs() (string, []string) { |
|
if strings.HasPrefix(e.dockerComposeVersion, "v2") { |
|
return "docker", []string{"compose"} |
|
} |
|
|
|
return "docker-compose", []string{} |
|
} |
Hi Semaphore Team! 👋
https://github.com/docker/compose/releases/tag/v5.0.0 has released quite a while ago so the agent will fail creating the right compose commands while running (it could not fall back to
docker-compose buildet al. since that command/alias will also no longer exist, especially in new installs of the Docker engine stack,) cfagent/pkg/executors/docker_compose_executor.go
Lines 208 to 214 in 9936534