Skip to content

Commit a2984bf

Browse files
committed
[nix-packs] fix missing arg
1 parent c0de5e9 commit a2984bf

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/workflows/nixpacks.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
dagger functions
2020
dagger call plan --src . --path example/samples/php-api --output=./plan.json
2121
jq . < ./plan.json
22-
dagger call build --src . --path example/samples/php-api
22+
dagger call build --src . --path example/samples/php-api --name php-api
2323
working-directory: nixpacks
2424
publish:
2525
needs: test

nixpacks/src/dagger/jobs.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,8 @@ export async function build(
4040
.withWorkdir("/app")
4141
.withServiceBinding("dockerd", docker("25.0.3", true))
4242
.withEnvVariable("DOCKER_HOST", "tcp://dockerd:2375")
43-
.withExec(["nixpacks", "build", path, "--name", name]);
43+
.withExec(["nixpacks", "build", path, "--name", name])
44+
.withExec(["docker", "images"]);
4445
return ctr.stdout();
4546
}
4647

0 commit comments

Comments
 (0)