From ef5fb8f4d32a7f6d8fd79fac9734e84f4231f33d Mon Sep 17 00:00:00 2001 From: Anthony Brice Date: Thu, 28 Mar 2024 09:49:01 -0700 Subject: [PATCH] ffffff --- dagger/src/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dagger/src/index.ts b/dagger/src/index.ts index 58ce072..1b937f6 100644 --- a/dagger/src/index.ts +++ b/dagger/src/index.ts @@ -32,7 +32,7 @@ class Timpkg { } @func() - async onPush(dir: Directory): Promise { + async onPush(dir: Directory, token: string): Promise { const modules = await dir.entries() const results = await Promise.all(modules.map(async m => { @@ -49,7 +49,7 @@ class Timpkg { const current = maxSatisfying(vs, '*') const next = inc(current, "patch") - return tim.cli(["mod", "push", `/tmp/timoni/${m}/`, imageUrl, `--version=${next}`]) + return tim.cli(["mod", "push", `/tmp/timoni/${m}/`, imageUrl, `--version=${next}`, `--creds=${token}`]) })) return results.join("\n")