-
Notifications
You must be signed in to change notification settings - Fork 22
51 lines (50 loc) · 1.82 KB
/
Copy pathpr-merged.yaml
File metadata and controls
51 lines (50 loc) · 1.82 KB
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
name: build
on:
pull_request_target:
types: [closed]
branches:
- 'main'
paths-ignore:
- '**.md' ### Ignore running when README.MD changed.
- '.github/workflows/*' ### Ignore running when files under path: .github/workflows/* changed.
workflow_dispatch:
jobs:
pr-merged:
if: ${{ github.event.pull_request.merged == true || github.event_name == 'workflow_dispatch' }}
permissions:
actions: write
id-token: write
packages: write
contents: write
pull-requests: read
attestations: write # required by actions/attest-build-provenance in the shared workflow
uses: kubescape/workflows/.github/workflows/incluster-comp-pr-merged.yaml@main
with:
IMAGE_NAME: quay.io/${{ github.repository_owner }}/storage
IMAGE_TAG: v0.0.${{ github.run_number }}
COMPONENT_NAME: storage
CGO_ENABLED: 0
GO111MODULE: "on"
BUILD_PLATFORM: linux/amd64,linux/arm64
GO_VERSION: "1.25"
REQUIRED_TESTS: '[
"relevantCVEs",
"relevancy_enabled_stop_sniffing",
"relevant_data_is_appended",
"relevancy_large_image",
"relevancy_fix_vuln",
"relevancy_python",
"relevancy_golang",
"relevancy_java",
"relevancy_java_and_python",
"relevancy_golang_dynamic",
"network_policy",
"network_policy_data_appended",
"network_policy_pod_restarted",
"network_policy_multiple_replicas",
"network_policy_known_servers"
]'
COSIGN: true
HELM_E2E_TEST: true
FORCE: true
secrets: inherit