Skip to content

feat(ci): add image scanning workflow #194

feat(ci): add image scanning workflow

feat(ci): add image scanning workflow #194

name: bluefin 40
on:
merge_group:
pull_request:
branches:
- main
- testing
paths-ignore:
- '**.md'
- 'system_files/kinoite/**'
schedule:
- cron: '40 16 * * *' # 16:40 UTC everyday
workflow_dispatch:
jobs:
build:
name: build
uses: ./.github/workflows/reusable-build.yml
secrets: inherit
with:
brand_name: bluefin
fedora_version: 40
scan:
# Scan can still be ran when some builds fail since only successfully built
# images will be stored in the output
if: github.event_name != 'pull_request' && always()
uses: ./.github/workflows/reusable-image-scan.yml
needs: build
secrets: inherit
with:
images: ${{ needs.build.outputs.images }}