-
Notifications
You must be signed in to change notification settings - Fork 78
54 lines (52 loc) · 1.72 KB
/
scan_image.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
50
51
52
53
54
# This workflow will scan the created docker images at scheduled time and create issue if vulnerability is found
name: Vulnerability Scan
on:
schedule:
- cron: '30 5 * * 0'
jobs:
scan:
name: Daily Vulnerability Scan
runs-on: ubuntu-latest
steps:
- name: Pull docker images
run: |
docker pull digite/kairon-api
docker pull digite/kairon-ui
docker pull digite/kairon-action-server
docker pull digite/kairon-history-server
docker pull digite/kairon-script-runner
docker pull digite/kairon-chat
docker pull digite/kairon-paraphrase
docker pull digite/kairon-qg
- uses: Azure/[email protected]
name: Scanning api image
with:
image-name: digite/kairon-api
- uses: Azure/[email protected]
name: Scanning ui image
with:
image-name: digite/kairon-ui
- uses: Azure/[email protected]
name: Scanning action image
with:
image-name: digite/kairon-action-server
- uses: Azure/[email protected]
name: Scanning script runner image
with:
image-name: digite/kairon-script-runner
- uses: Azure/[email protected]
name: Scanning history image
with:
image-name: digite/kairon-history-server
- uses: Azure/[email protected]
name: Scanning chat image
with:
image-name: digite/kairon-chat
- uses: Azure/[email protected]
name: Scanning paraphrase image
with:
image-name: digite/kairon-paraphrase
- uses: Azure/[email protected]
name: Scanning question generation image
with:
image-name: digite/kairon-qg