⬆️ Update google/osv-scanner-action action to v2.5.0 (#4289) #502
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: 'Build ARM images (Master)' | |
| on: | |
| push: | |
| branches: | |
| - master | |
| - factory-master-arm | |
| permissions: | |
| contents: write | |
| security-events: write | |
| id-token: write | |
| actions: read | |
| concurrency: | |
| group: ci-arm-${{ github.head_ref || github.ref }}-${{ github.repository }} | |
| cancel-in-progress: true | |
| jobs: | |
| build: | |
| name: ${{ matrix.image_name }} | |
| uses: kairos-io/kairos-factory-action/.github/workflows/reusable-factory.yaml@8952c3a5f4f6255cc63af88cb3637a9684970c8d # v1.1.3 | |
| secrets: | |
| registry_username: ${{ secrets.QUAY_USERNAME }} | |
| registry_password: ${{ secrets.QUAY_PASSWORD }} | |
| with: | |
| auroraboot_version: "v0.26.2" | |
| dockerfile_path: "images/Dockerfile" | |
| base_image: ${{ matrix.base_image }} | |
| model: ${{ matrix.model }} | |
| arch: "arm64" | |
| version: "auto" | |
| grype: ${{ matrix.grype }} | |
| # Report-only: the scan still runs and reports, but criticals from the | |
| # upstream base image must not block master builds / tests. | |
| security_scan_mode: "report-only" | |
| registry_domain: "quay.io" | |
| registry_namespace: "kairos" | |
| registry_repository: "ci-temp-images" | |
| custom_tag_format: "$FLAVOR-$FLAVOR_RELEASE-$VARIANT-$ARCH-$MODEL-$COMMIT_SHA" | |
| custom_artifact_format: "kairos-$FLAVOR-$FLAVOR_RELEASE-$VARIANT-$ARCH-$MODEL" | |
| custom_job_name_format: ${{ matrix.custom_job_name_format }} | |
| image_labels: "quay.expires-after=2w" | |
| summary_artifacts: true | |
| cleanup: ${{ matrix.cleanup }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| include: | |
| - image_name: "hadron" | |
| model: "generic" | |
| base_image: "ghcr.io/kairos-io/hadron:v0.5.1" | |
| cleanup: false | |
| grype: true | |
| custom_job_name_format: "core-arm64-generic" | |
| - image_name: "hadron" | |
| model: "rpi4" | |
| base_image: "ghcr.io/kairos-io/hadron:v0.5.1" | |
| cleanup: false | |
| grype: true | |
| custom_job_name_format: "core-arm64-rpi4" | |
| - image_name: "hadron" | |
| model: "rpi3" | |
| base_image: "ghcr.io/kairos-io/hadron:v0.5.1" | |
| cleanup: false | |
| grype: true | |
| custom_job_name_format: "core-arm64-rpi3" | |
| - model: "nvidia-jetson-agx-orin" | |
| image_name: "ubuntu:22.04" | |
| base_image: "ubuntu:22.04" | |
| cleanup: true | |
| grype: true | |
| custom_job_name_format: "" | |
| - model: "nvidia-jetson-orin-nx" | |
| image_name: "ubuntu:22.04" | |
| base_image: "ubuntu:22.04" | |
| cleanup: true | |
| grype: false # too many vulns under the L4T rootfs | |
| custom_job_name_format: "" |