-
Notifications
You must be signed in to change notification settings - Fork 0
74 lines (66 loc) · 1.65 KB
/
nightly.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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
name: nightly
permissions: {}
on:
schedule:
- cron: "30 1 * * *"
defaults:
run:
shell: bash
jobs:
build:
uses: ./.github/workflows/.reusable-build.yml
permissions:
id-token: write
packages: write
secrets: inherit
with:
skip: "non-required"
compliance:
uses: ./.github/workflows/.reusable-compliance.yml
permissions:
actions: read
attestations: read
checks: read
contents: write
deployments: read
discussions: read
id-token: write
issues: read
packages: read
pages: read
pull-requests: write
repository-projects: read
security-events: write
statuses: read
secrets: inherit
with:
skip: "none"
sca-released:
name: sca (released)
uses: ./.github/workflows/.reusable-sca.yml
needs: [build]
permissions:
contents: write
security-events: write
packages: read
secrets: inherit
with:
image: ${{ needs.build.outputs.original_image }}
skip: "none"
output: "table"
integration-test:
uses: ./.github/workflows/.reusable-integration-test.yml
needs: [build]
permissions:
packages: read
secrets: inherit
with:
build_registry: ${{ needs.build.outputs.original_registry }}
repo_owner: ${{ github.repository_owner }}
build_image_repository: ${{ needs.build.outputs.original_registry }}/${{ needs.build.outputs.original_repo }}
build_tag: ${{ needs.build.outputs.original_tag }}
skip: "non-required"
cleanup-registry:
uses: ./.github/workflows/.reusable-cleanup-registry.yml
needs: [build]
secrets: inherit