diff --git a/ci/main.go b/ci/main.go index c8644e5..f9c370a 100644 --- a/ci/main.go +++ b/ci/main.go @@ -40,7 +40,7 @@ func main() { vendor := client.Container().From("docker.io/composer:2.6"). WithFile("composer.json", client.Host().File("composer.json")). WithFile("composer.lock", client.Host().File("composer.lock")). - WithExec([]string{"i", "--no-dev", "--ignore-platform-reqs"}). + WithExec([]string{"composer", "i", "--no-dev", "--ignore-platform-reqs"}). Directory("vendor") output := client.Container().From("docker.io/nextcloud:27"). @@ -60,7 +60,7 @@ func main() { _, err = client.Container().From("docker.io/minio/mc"). WithSecretVariable("MC_HOST_repo", s3Secret). WithDirectory("/output", output). - WithExec([]string{"cp", "-r", "/output/", "repo/artifacts/"}). + WithExec([]string{"mc", "cp", "-r", "/output/", "repo/artifacts/"}). Sync(ctx) if err != nil { panic(err)