Skip to content

Commit

Permalink
[nixpacks] fix missing arg
Browse files Browse the repository at this point in the history
  • Loading branch information
tsirysndr committed Mar 10, 2024
1 parent c0de5e9 commit 550cdc6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/nixpacks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
dagger functions
dagger call plan --src . --path example/samples/php-api --output=./plan.json
jq . < ./plan.json
dagger call build --src . --path example/samples/php-api
dagger call build --src . --path example/samples/php-api --name php-api
working-directory: nixpacks
publish:
needs: test
Expand Down
3 changes: 2 additions & 1 deletion nixpacks/src/dagger/jobs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,8 @@ export async function build(
.withWorkdir("/app")
.withServiceBinding("dockerd", docker("25.0.3", true))
.withEnvVariable("DOCKER_HOST", "tcp://dockerd:2375")
.withExec(["nixpacks", "build", path, "--name", name]);
.withExec(["nixpacks", "build", path, "--name", name])
.withExec(["docker", "images"]);
return ctr.stdout();
}

Expand Down

0 comments on commit 550cdc6

Please sign in to comment.