Skip to content

Commit

Permalink
apply excludes option
Browse files Browse the repository at this point in the history
  • Loading branch information
tsirysndr committed Sep 23, 2023
1 parent 54119c2 commit e04af2c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/dagger/jobs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export const test = async (client: Client, src = ".") => {
.pipeline(Job.test)
.container()
.from(`snyk/snyk:${SNYK_IMAGE_TAG}`)
.withDirectory("/app", context)
.withDirectory("/app", context, { exclude })
.withWorkdir("/app")
.withEnvVariable("SNYK_TOKEN", Deno.env.get("SNYK_TOKEN") || "")
.withExec([
Expand All @@ -37,7 +37,7 @@ export const iacTest = async (client: Client, src = ".") => {
.pipeline(Job.iacTest)
.container()
.from(`snyk/snyk:${SNYK_IMAGE_TAG}`)
.withDirectory("/app", context)
.withDirectory("/app", context, { exclude })
.withWorkdir("/app")
.withEnvVariable("SNYK_TOKEN", Deno.env.get("SNYK_TOKEN") || "")
.withExec([
Expand Down

0 comments on commit e04af2c

Please sign in to comment.