This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Prune and Cleanup Docker | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
prune-docker-job: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Code | |
uses: actions/checkout@v4 | |
- name: Docker Prune and Cleanup | |
uses: ./ | |
with: | |
container-name: "app-container" | |
prune: true # Optional; defaults to true |