Skip to content

Agent doesn't recognize docker-compose v5 #266

@zakame

Description

@zakame

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{}
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions