Skip to content

use reference.Parse to parse imageID #102

use reference.Parse to parse imageID

use reference.Parse to parse imageID #102

Workflow file for this run

name: pr-merged
on:
pull_request_target:
types: [closed]
branches:
- 'main'
paths-ignore:
- '*.md'
- '*.yaml'
- '.github/workflows/*'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
pr-merged:
if: ${{ github.event.pull_request.merged == true }} ## Skip if not merged
uses: kubescape/workflows/.github/workflows/incluster-comp-pr-merged.yaml@main
with:
IMAGE_NAME: quay.io/${{ github.repository_owner }}/kubevuln
IMAGE_TAG: v0.2.${{ github.run_number }}
COMPONENT_NAME: kubevuln
CGO_ENABLED: 0
GO111MODULE: "on"
BUILD_PLATFORM: linux/amd64,linux/arm64
GO_VERSION: "1.20"
REQUIRED_TESTS: '[
"vulnerability_scanning",
"vulnerability_scanning_cve_exceptions",
"relevantCVEs",
"relevancy_enabled_stop_sniffing",
"relevant_data_is_appended",
"relevancy_large_image",
"relevancy_extra_large_image",
"relevancy_fix_vuln",
"relevancy_python",
"relevancy_golang",
"relevancy_java",
"relevancy_java_and_python",
"relevancy_golang_dynamic"
]'
COSIGN: true
HELM_E2E_TEST: true
secrets: inherit