Skip to content

Commit

Permalink
Specify branch name for CI build
Browse files Browse the repository at this point in the history
  • Loading branch information
sharpenedblade committed Sep 19, 2024
1 parent efb0ecf commit 92bd925
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/build-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ on:
tags:
type: string
required: true
branch:
type: string
required: true

jobs:
build-image:
Expand All @@ -18,6 +21,8 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v3
with:
ref: ${{ inputs.branch }}

- name: Build image
id: build-image
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/fedora-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@ jobs:
with:
image_name: "fedora-ci"
tags: unstable ${{ github.sha }}
branch: main

0 comments on commit 92bd925

Please sign in to comment.