📜 Build a new image #63
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 a new image | |
on: | |
push: | |
branches: | |
- main | |
paths-ignore: | |
- "**.md" | |
pull_request: | |
branches: | |
- main | |
workflow_call: | |
inputs: | |
recipe: | |
description: Recipe file to use | |
required: true | |
type: string | |
secrets: | |
SIGNING_SECRET: | |
required: true | |
workflow_dispatch: | |
jobs: | |
bluebuild: | |
name: Build custom images from ${{ inputs.recipe }} | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
packages: write | |
id-token: write | |
steps: | |
- name: Build Custom Image | |
uses: blue-build/github-action@v1 | |
with: | |
recipe: ${{ inputs.recipe }} | |
cosign_private_key: ${{ secrets.SIGNING_SECRET }} | |
registry_token: ${{ github.token }} | |
pr_event_number: ${{ github.event.number }} | |
maximize_build_space: false |