-
Notifications
You must be signed in to change notification settings - Fork 4
43 lines (39 loc) · 1.21 KB
/
build.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
name: Build
on:
workflow_dispatch:
push:
branches:
- 'main'
- 'fix/[0-9]+.[0-9]+.x'
jobs:
build:
uses: onecx/ci-quarkus/.github/workflows/build.yml@v1
secrets: inherit
with:
native: true
helmEventTargetRepository: onecx/onecx-help
trivy-manual:
name: Trivy manual check
runs-on: ubuntu-latest
steps:
- name: trivy 1.1.0-native
continue-on-error: true
uses: aquasecurity/[email protected]
with:
image-ref: 'ghcr.io/${{ github.repository_owner }}/${{ github.event.repository.name }}:1.1.0-native'
severity: 'HIGH,CRITICAL'
format: table
- name: trivy 1.2.0-native
continue-on-error: true
uses: aquasecurity/[email protected]
with:
image-ref: 'ghcr.io/${{ github.repository_owner }}/${{ github.event.repository.name }}:1.2.0-native'
severity: 'HIGH,CRITICAL'
format: table
- name: trivy 1.3.0-rc.1-native
continue-on-error: true
uses: aquasecurity/[email protected]
with:
image-ref: 'ghcr.io/${{ github.repository_owner }}/${{ github.event.repository.name }}:1.3.0-rc.1-native'
severity: 'HIGH,CRITICAL'
format: table