Compare commits
No commits in common. "e504d898402200d500f70a5c663eb6f0f43ddd2d" and "8ed2bcb2be59c7b465fe76371e3f7227d0204f5c" have entirely different histories.
e504d89840
...
8ed2bcb2be
1 changed files with 3 additions and 4 deletions
|
@ -40,11 +40,10 @@ 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{"composer", "i", "--no-dev", "--ignore-platform-reqs"}).
|
||||
WithExec([]string{"rm", "-rf", "vendor/audriga/scim-server-php/.git"}).
|
||||
WithExec([]string{"i", "--no-dev", "--ignore-platform-reqs"}).
|
||||
Directory("vendor")
|
||||
|
||||
output := client.Container().From("docker.io/nextcloud:28").
|
||||
output := client.Container().From("docker.io/nextcloud:27").
|
||||
WithWorkdir("/scimserviceprovider").
|
||||
WithDirectory("vendor", vendor).
|
||||
WithDirectory(".", client.Host().Directory(".", dagger.HostDirectoryOpts{
|
||||
|
@ -61,7 +60,7 @@ func main() {
|
|||
_, err = client.Container().From("docker.io/minio/mc").
|
||||
WithSecretVariable("MC_HOST_repo", s3Secret).
|
||||
WithDirectory("/output", output).
|
||||
WithExec([]string{"mc", "cp", "-r", "/output/", "repo/artifacts/"}).
|
||||
WithExec([]string{"cp", "-r", "/output/", "repo/artifacts/"}).
|
||||
Sync(ctx)
|
||||
if err != nil {
|
||||
panic(err)
|
||||
|
|
Loading…
Reference in a new issue