⬆️ Update google/osv-scanner-action action to v2.3.1 #3250
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 AMD64 images (PR)' | |
| on: | |
| pull_request: | |
| permissions: | |
| contents: write | |
| security-events: write | |
| id-token: write | |
| actions: read | |
| concurrency: | |
| group: ci-pr-amd64-${{ github.head_ref || github.ref }}-${{ github.repository }} | |
| cancel-in-progress: true | |
| jobs: | |
| build: | |
| name: ${{ matrix.base_image }} | |
| uses: kairos-io/kairos-factory-action/.github/workflows/[email protected] | |
| secrets: | |
| registry_username: ${{ secrets.QUAY_USERNAME }} | |
| registry_password: ${{ secrets.QUAY_PASSWORD }} | |
| with: | |
| auroraboot_version: "v0.16.2" | |
| dockerfile_path: "images/Dockerfile" | |
| base_image: ${{ matrix.base_image }} | |
| model: "generic" | |
| arch: "amd64" | |
| version: "auto" | |
| iso: true | |
| grype: true | |
| 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" | |
| image_labels: "quay.expires-after=6h" | |
| summary_artifacts: true | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| base_image: | |
| - "ghcr.io/kairos-io/hadron:v0.0.1-beta2" | |
| - "ubuntu:25.10" | |
| - "ubuntu:24.04" | |
| - "alpine:3.21" | |
| lifecycle-tests: | |
| name: ${{ matrix.base_image }} | |
| secrets: inherit | |
| uses: ./.github/workflows/reusable-qemu-test.yaml | |
| with: | |
| base_image: ${{ matrix.base_image }} | |
| test: ${{ matrix.test }} | |
| secureboot: ${{ matrix.secureboot || false}} | |
| release-matcher: ${{ matrix.release-matcher || '' }} | |
| variant: "core" | |
| arch: "amd64" | |
| model: "generic" | |
| needs: | |
| - build | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| secureboot: [false] | |
| base_image: | |
| - "ubuntu:25.10" | |
| - "ubuntu:24.04" | |
| - "alpine:3.21" | |
| test: | |
| - "custom-partitioning" | |
| - "acceptance" | |
| - "install" | |
| - "install-target" | |
| - "reset" | |
| - "upgrade-with-cli" | |
| - "upgrade-latest-with-cli" | |
| include: | |
| - test: "install" | |
| secureboot: true | |
| base_image: "ubuntu:25.10" | |
| - test: "zfs" | |
| base_image: "ubuntu:25.10" | |
| - test: "bundles" | |
| base_image: "ubuntu:25.10" | |
| - test: "install" | |
| secureboot: true | |
| base_image: "ubuntu:24.04" | |
| - test: "zfs" | |
| base_image: "ubuntu:24.04" | |
| - test: "bundles" | |
| base_image: "ubuntu:24.04" | |
| - test: "upgrade-latest-with-cli" | |
| base_image: "ubuntu:25.10" | |
| - test: "install" | |
| base_image: "ghcr.io/kairos-io/hadron:v0.0.1-beta2" | |
| - test: "custom-partitioning" | |
| base_image: "ghcr.io/kairos-io/hadron:v0.0.1-beta2" | |
| - test: "acceptance" | |
| base_image: "ghcr.io/kairos-io/hadron:v0.0.1-beta2" | |
| - test: "install-target" | |
| base_image: "ghcr.io/kairos-io/hadron:v0.0.1-beta2" | |
| - test: "reset" | |
| base_image: "ghcr.io/kairos-io/hadron:v0.0.1-beta2" | |
| # Whenever there's a new flavor e.g. ubuntu-25.10 but we haven't released a kairos version with it, you can use the release matcher to match to a previous version, e.g. ubuntu-24.04 | |
| # release-matcher: "kairos-ubuntu-24.04-core-amd64-generic-v3.6.0.iso" | |
| encryption-tests: | |
| name: ${{ matrix.base_image }} | |
| secrets: inherit | |
| uses: ./.github/workflows/reusable-encryption-test.yaml | |
| with: | |
| base_image: ${{ matrix.base_image }} | |
| label: ${{ matrix.label }} | |
| variant: "core" | |
| arch: "amd64" | |
| model: "generic" | |
| needs: | |
| - build | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| base_image: | |
| - "ghcr.io/kairos-io/hadron:v0.0.1-beta2" | |
| - "ubuntu:25.10" | |
| - "ubuntu:24.04" | |
| - "alpine:3.21" | |
| label: | |
| - "encryption-local" | |
| - "encryption-remote-auto" | |
| - "encryption-remote-static" | |
| - "encryption-remote-https-pinned" | |
| - "encryption-remote-https-bad-cert" |