Skip to content

Commit

Permalink
Fix generate documentation cleaning docker images.
Browse files Browse the repository at this point in the history
  • Loading branch information
mariags803 committed Dec 4, 2023
1 parent 5477059 commit cc47c71
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/run-clean-docker-images.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Run clean docker images

on:
push:
branches:
- test/clean-github-actions-docker-images
jobs:
run-clean-docker-images:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
persist-credentials: false
fetch-depth: 0

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2

- name: Remove unnecessary files
run: |
rm -f *.log
rm -f *.tmp
- name: Clean Docker images and containers
run: |
docker container prune -f
docker image prune -a -f

0 comments on commit cc47c71

Please sign in to comment.