Compare commits

..

No commits in common. "e504d898402200d500f70a5c663eb6f0f43ddd2d" and "8ed2bcb2be59c7b465fe76371e3f7227d0204f5c" have entirely different histories.

View file

@ -40,11 +40,10 @@ func main() {
vendor := client.Container().From("docker.io/composer:2.6"). vendor := client.Container().From("docker.io/composer:2.6").
WithFile("composer.json", client.Host().File("composer.json")). WithFile("composer.json", client.Host().File("composer.json")).
WithFile("composer.lock", client.Host().File("composer.lock")). WithFile("composer.lock", client.Host().File("composer.lock")).
WithExec([]string{"composer", "i", "--no-dev", "--ignore-platform-reqs"}). WithExec([]string{"i", "--no-dev", "--ignore-platform-reqs"}).
WithExec([]string{"rm", "-rf", "vendor/audriga/scim-server-php/.git"}).
Directory("vendor") Directory("vendor")
output := client.Container().From("docker.io/nextcloud:28"). output := client.Container().From("docker.io/nextcloud:27").
WithWorkdir("/scimserviceprovider"). WithWorkdir("/scimserviceprovider").
WithDirectory("vendor", vendor). WithDirectory("vendor", vendor).
WithDirectory(".", client.Host().Directory(".", dagger.HostDirectoryOpts{ WithDirectory(".", client.Host().Directory(".", dagger.HostDirectoryOpts{
@ -61,7 +60,7 @@ func main() {
_, err = client.Container().From("docker.io/minio/mc"). _, err = client.Container().From("docker.io/minio/mc").
WithSecretVariable("MC_HOST_repo", s3Secret). WithSecretVariable("MC_HOST_repo", s3Secret).
WithDirectory("/output", output). WithDirectory("/output", output).
WithExec([]string{"mc", "cp", "-r", "/output/", "repo/artifacts/"}). WithExec([]string{"cp", "-r", "/output/", "repo/artifacts/"}).
Sync(ctx) Sync(ctx)
if err != nil { if err != nil {
panic(err) panic(err)