Skip to content

Commit

Permalink
remove container images after run
Browse files Browse the repository at this point in the history
  • Loading branch information
kb-kerem committed Apr 18, 2024
1 parent cb14482 commit dc012d2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/env-vars.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ describe('Env var tests', () => {
'runs the docker image with SAUCE_VISUAL_CUSTOM_ID in place',
async () => {
const result = await execute(
`docker run -e SAUCE_USERNAME -e SAUCE_ACCESS_KEY \\
`docker run --rm -e SAUCE_USERNAME -e SAUCE_ACCESS_KEY \\
-e SAUCE_VISUAL_CUSTOM_ID \\
${process.env.CONTAINER_IMAGE_NAME}`,
{
Expand Down Expand Up @@ -142,7 +142,7 @@ describe('Env var tests', () => {
'runs the docker image with env vars in place',
async () => {
const result = await execute(
`docker run -e SAUCE_USERNAME -e SAUCE_ACCESS_KEY \\
`docker run --rm -e SAUCE_USERNAME -e SAUCE_ACCESS_KEY \\
-e SAUCE_VISUAL_PROJECT \\
-e SAUCE_VISUAL_BRANCH \\
-e SAUCE_VISUAL_DEFAULT_BRANCH \\
Expand Down

0 comments on commit dc012d2

Please sign in to comment.