Skip to content

Docker | Prune

Docker | Prune #662

Workflow file for this run

---
name: Docker | Prune
'on':
schedule:
- cron: 0 12 * * *
jobs:
prune:
name: Prune
runs-on: ubuntu-22.04
timeout-minutes: 10
strategy:
fail-fast: false
matrix:
container: [
hm-web,
hm-api-node,
hm-api-python,
hm-flink-stream-tweets,
hm-graphql-server,
hm-grpc-server,
hm-config-loader,
hm-decision-logger,
hm-prefect-calculate,
hm-prefect-greet,
hm-prefect-ingest-data,
hm-prefect-print-platform,
hm-spark-find-retired-people-python,
hm-spark-find-retired-people-scala,
hm-spark-ingest-from-s3-to-kafka,
hm-kafka-iot-kafka-connect,
hm-kafka-logging-kafka-connect,
hm-kafka-opa-kafka-connect,
hm-opal-client,
hm-rasa-action-server,
hm-keydb,
hm-traefik,
hm-alpine,
]
steps:
- name: Prune dangling Docker images
uses: vlaurin/[email protected]
with:
token: ${{ secrets.GHCR_PRUNE_TOKEN }}
user: hongbo-miao
container: ${{ matrix.container }}
keep-last: 1
prune-untagged: true