A simple GitHub Action to clean the workspace, user-defined paths, and Docker containers/images
- name: Cleanup
uses: scalified/cleanup-action@v1
with:
paths: >-
/opt/storage
/home/.npmrc
docker-image: my-docker-image:latest
Input | Description | Required | Default |
---|---|---|---|
workspace |
Whether to clean up the workspace directory | No | true |
paths |
List of files and directories to remove | No | "" |
docker-image |
Docker image to remove, along with its containers | No | "" |
Made with ❤️ by Scalified