From 92bd925e95a065ef286ab9bb6352664986f54e32 Mon Sep 17 00:00:00 2001 From: sharpenedblade Date: Wed, 18 Sep 2024 22:38:13 -0700 Subject: [PATCH] Specify branch name for CI build --- .github/workflows/build-image.yml | 5 +++++ .github/workflows/fedora-ci.yml | 1 + 2 files changed, 6 insertions(+) diff --git a/.github/workflows/build-image.yml b/.github/workflows/build-image.yml index 6db0057..d2661ff 100644 --- a/.github/workflows/build-image.yml +++ b/.github/workflows/build-image.yml @@ -8,6 +8,9 @@ on: tags: type: string required: true + branch: + type: string + required: true jobs: build-image: @@ -18,6 +21,8 @@ jobs: steps: - name: Checkout uses: actions/checkout@v3 + with: + ref: ${{ inputs.branch }} - name: Build image id: build-image diff --git a/.github/workflows/fedora-ci.yml b/.github/workflows/fedora-ci.yml index a79a775..7eee7a3 100644 --- a/.github/workflows/fedora-ci.yml +++ b/.github/workflows/fedora-ci.yml @@ -9,3 +9,4 @@ jobs: with: image_name: "fedora-ci" tags: unstable ${{ github.sha }} + branch: main