-
Notifications
You must be signed in to change notification settings - Fork 35
49 lines (47 loc) · 1.21 KB
/
docker-prune.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
---
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