Skip to content

Commit

Permalink
fix: set skipEntrypoint to false
Browse files Browse the repository at this point in the history
  • Loading branch information
tsirysndr committed Aug 19, 2024
1 parent ad9a2d0 commit a0a7b12
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
10 changes: 5 additions & 5 deletions example/.fluentci/src/jobs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export async function config(
.from("aquasec/trivy")
.withDirectory("/app", context, { exclude })
.withWorkdir("/app")
.withExec(args);
.withExec(args, { skipEntrypoint: false });

await ctr.stdout();
const id = await ctr.file(`/app/${outputFile}`).id();
Expand Down Expand Up @@ -88,7 +88,7 @@ export async function fs(
.from("aquasec/trivy")
.withDirectory("/app", context, { exclude })
.withWorkdir("/app")
.withExec(args);
.withExec(args, { skipEntrypoint: false });

await ctr.stdout();

Expand Down Expand Up @@ -128,7 +128,7 @@ export async function repo(
.from("aquasec/trivy")
.withDirectory("/app", context, { exclude })
.withWorkdir("/app")
.withExec(args);
.withExec(args, { skipEntrypoint: false });
await ctr.stdout();

return ctr.file(`/app/${outputFile}`).id();
Expand Down Expand Up @@ -173,7 +173,7 @@ export async function image(
.from("aquasec/trivy")
.withDirectory("/app", context, { exclude })
.withWorkdir("/app")
.withExec(args);
.withExec(args, { skipEntrypoint: false });

await ctr.stdout();
return ctr.file(`/app/${outputFile}`).id();
Expand Down Expand Up @@ -217,7 +217,7 @@ export async function sbom(
.from("aquasec/trivy")
.withDirectory("/app", context, { exclude })
.withWorkdir("/app")
.withExec(args);
.withExec(args, { skipEntrypoint: false });

await ctr.stdout();
return ctr.file(`/app/${outputFile}`).id();
Expand Down
10 changes: 5 additions & 5 deletions src/jobs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export async function config(
.from("aquasec/trivy")
.withDirectory("/app", context, { exclude })
.withWorkdir("/app")
.withExec(args);
.withExec(args, { skipEntrypoint: false });

await ctr.stdout();
const id = await ctr.file(`/app/${outputFile}`).id();
Expand Down Expand Up @@ -88,7 +88,7 @@ export async function fs(
.from("aquasec/trivy")
.withDirectory("/app", context, { exclude })
.withWorkdir("/app")
.withExec(args);
.withExec(args, { skipEntrypoint: false });

await ctr.stdout();

Expand Down Expand Up @@ -128,7 +128,7 @@ export async function repo(
.from("aquasec/trivy")
.withDirectory("/app", context, { exclude })
.withWorkdir("/app")
.withExec(args);
.withExec(args, { skipEntrypoint: false });
await ctr.stdout();

return ctr.file(`/app/${outputFile}`).id();
Expand Down Expand Up @@ -173,7 +173,7 @@ export async function image(
.from("aquasec/trivy")
.withDirectory("/app", context, { exclude })
.withWorkdir("/app")
.withExec(args);
.withExec(args, { skipEntrypoint: false });

await ctr.stdout();
return ctr.file(`/app/${outputFile}`).id();
Expand Down Expand Up @@ -217,7 +217,7 @@ export async function sbom(
.from("aquasec/trivy")
.withDirectory("/app", context, { exclude })
.withWorkdir("/app")
.withExec(args);
.withExec(args, { skipEntrypoint: false });

await ctr.stdout();
return ctr.file(`/app/${outputFile}`).id();
Expand Down

0 comments on commit a0a7b12

Please sign in to comment.