-
Notifications
You must be signed in to change notification settings - Fork 1
54 lines (51 loc) · 1.22 KB
/
schedule.yaml
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
---
name: Schedule
on:
schedule:
- cron: 11 15 * * *
workflow_dispatch:
jobs:
scan-api:
name: Scan api image
runs-on: ubuntu-latest
permissions:
actions: none
checks: none
contents: none
deployments: none
issues: none
packages: write
pull-requests: none
repository-projects: none
security-events: write
statuses: none
# needed for `cosign attest`
id-token: write
steps:
- uses: adfinis/[email protected]
with:
image-ref: ghcr.io/${{ github.repository }}/api
token: ${{ secrets.GITHUB_TOKEN }}
attest: true
scan-ember:
name: Scan ember image
runs-on: ubuntu-latest
permissions:
actions: none
checks: none
contents: none
deployments: none
issues: none
packages: write
pull-requests: none
repository-projects: none
security-events: write
statuses: none
# needed for `cosign attest`
id-token: write
steps:
- uses: adfinis/[email protected]
with:
image-ref: ghcr.io/${{ github.repository }}/ember
token: ${{ secrets.GITHUB_TOKEN }}
attest: true