Skip to content

Commit

Permalink
build-alpine-netboot-image-zfs.yml can pass branch name
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisjsimpson authored Nov 23, 2024
1 parent 89bd077 commit cefb817
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/build-alpine-netboot-image-zfs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,19 @@ on:
branches:
- main
workflow_dispatch:
inputs:
branch:
description: "Optional branch name to checkout"
required: false
default: "main"

jobs:
build-alpine-zfs-netboot-image:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.event.inputs.branch || 'main' }}

- name: Build alpine image
run: |
Expand Down

0 comments on commit cefb817

Please sign in to comment.