fix(app/action): add --rm to auto-clean docker images

This commit is contained in:
lowlighter
2022-04-24 13:17:54 -04:00
parent 5e3460fa0b
commit 1bf3b92544
7 changed files with 305 additions and 305 deletions

View File

@@ -99,7 +99,7 @@ runs:
echo "::endgroup::"
# Run docker image with current environment
docker run --init --volume $GITHUB_EVENT_PATH:$GITHUB_EVENT_PATH --volume $METRICS_RENDERS:/renders --env-file .env $METRICS_IMAGE
docker run --init --rm --volume $GITHUB_EVENT_PATH:$GITHUB_EVENT_PATH --volume $METRICS_RENDERS:/renders --env-file .env $METRICS_IMAGE
rm .env
shell: bash
env: