From 57eff00efc36977e4e6338537c50789637bc1fcc Mon Sep 17 00:00:00 2001 From: Hugo Renard Date: Mon, 28 Oct 2024 16:47:03 +0100 Subject: [PATCH] ci: explicit exec command --- ci/main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)