Skip to content

Commit cefb817

Browse files
build-alpine-netboot-image-zfs.yml can pass branch name
1 parent 89bd077 commit cefb817

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/build-alpine-netboot-image-zfs.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,19 @@ on:
44
branches:
55
- main
66
workflow_dispatch:
7+
inputs:
8+
branch:
9+
description: "Optional branch name to checkout"
10+
required: false
11+
default: "main"
712

813
jobs:
914
build-alpine-zfs-netboot-image:
1015
runs-on: ubuntu-latest
1116
steps:
1217
- uses: actions/checkout@v4
18+
with:
19+
ref: ${{ github.event.inputs.branch || 'main' }}
1320

1421
- name: Build alpine image
1522
run: |

0 commit comments

Comments
 (0)