This repository has been archived by the owner on Apr 22, 2024. It is now read-only.
feat: Allow users to override secure boot key and password #72
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 Container Image | |
on: | |
merge_group: | |
pull_request: | |
branches: | |
- main | |
paths-ignore: | |
- '*.md' | |
- 'LICENSE' | |
- 'CODEOWNERS' | |
push: | |
branches: | |
- main | |
workflow_dispatch: | |
jobs: | |
push-image: | |
name: Build and push container image | |
runs-on: ubuntu-22.04 | |
permissions: | |
contents: read | |
packages: write | |
strategy: | |
fail-fast: false | |
matrix: | |
version: | |
- 38 | |
- 39 | |
- 40 | |
include: | |
- version: 39 | |
support: latest | |
steps: | |
- name: Build image | |
uses: ublue-os/[email protected] | |
with: | |
image_name: isogenerator | |
image_variant: main | |
version: ${{ matrix.version }} | |
support: ${{ matrix.support }} | |
signing_key: ${{ secrets.SIGNING_SECRET }} | |
continue-on-error: false | |
check: | |
name: Check build successful | |
if: ${{ !cancelled() }} | |
runs-on: ubuntu-latest | |
needs: | |
- push-image | |
steps: | |
- name: Exit on failure for main | |
if: ${{ needs.push-image.result == 'failure' || needs.push-image.result == 'skipped' }} | |
shell: bash | |
run: exit 1 | |
- name: Exit | |
shell: bash | |
run: exit 0 |