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