Skip to content

Commit

Permalink
ffffff
Browse files Browse the repository at this point in the history
  • Loading branch information
anthonybrice committed Mar 28, 2024
1 parent fce1e55 commit ef5fb8f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dagger/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ class Timpkg {
}

@func()
async onPush(dir: Directory): Promise<string> {
async onPush(dir: Directory, token: string): Promise<string> {
const modules = await dir.entries()

const results = await Promise.all(modules.map(async m => {
Expand All @@ -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")
Expand Down

0 comments on commit ef5fb8f

Please sign in to comment.