feat(ci): add image scanning workflow #194
Workflow file for this run
This file contains 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: 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 }} |