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

@@ -46,7 +46,7 @@ jobs:
- name: Build lowlighter/metrics:${{ github.head_ref || 'master' }}
run: docker build -t lowlighter/metrics:$(echo ${{ github.head_ref || 'master' }} | sed 's/\//-/g') .
- name: Run tests
run: docker run --entrypoint="" lowlighter/metrics:$(echo ${{ github.head_ref || 'master' }} | sed 's/\//-/g') npm run test-metrics
run: docker run --rm --entrypoint="" lowlighter/metrics:$(echo ${{ github.head_ref || 'master' }} | sed 's/\//-/g') npm run test-metrics
# Run CodeQL on branch
analyze: