We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 96bd4bf commit a89e8d7Copy full SHA for a89e8d7
.github/workflows/sparrowproxy-selfhost.yml
@@ -2,6 +2,11 @@ name: Self-host Docker Image
2
on:
3
workflow_dispatch:
4
inputs:
5
+ branch:
6
+ description: "Git branch to build"
7
+ required: true
8
+ default: main
9
+ type: string
10
image_version:
11
description: "Docker image version (e.g. 1.2.3)"
12
required: true
@@ -16,10 +21,14 @@ jobs:
16
21
environment: self-host
17
22
env:
18
23
DOCKER_IMAGE_VERSION: ${{ inputs.image_version }}
24
+ BUILD_BRANCH: ${{ inputs.branch }}
19
25
20
26
steps:
27
- name: Checkout
28
uses: actions/checkout@v4
29
+ with:
30
+ ref: ${{ env.BUILD_BRANCH }}
31
+ fetch-depth: 0
32
33
- name: Set up QEMU
34
uses: docker/setup-qemu-action@v3
0 commit comments