Merge pull request #2 from killian-w/dependabot/github_actions/blue-b… #20
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: Build for NVIDIA | |
on: | |
schedule: | |
# build twice a week (20 minutes after last ublue images start building) | |
- cron: "00 17 * * 2,4" # build at 17:00 UTC every Tuesday & Thursday | |
push: | |
branches: | |
- main | |
paths-ignore: | |
- "**.md" | |
- ".editorconfig" | |
- "resources/**" | |
pull_request: | |
branches: | |
- main | |
paths-ignore: | |
- "**.md" | |
- ".editorconfig" | |
- "resources/**" | |
workflow_dispatch: # allow manually triggering builds | |
jobs: | |
bluebuild: | |
name: Build Custom Image NVIDIA | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
packages: write | |
id-token: write | |
steps: | |
# the build is fully handled by the reusable github action | |
- name: Build Custom Image NVIDIA | |
uses: blue-build/[email protected] | |
with: | |
recipe: nvidia.yml | |
cosign_private_key: ${{ secrets.SIGNING_SECRET }} | |
registry_token: ${{ github.token }} | |
pr_event_number: ${{ github.event.number }} |