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 512bd3b commit 42230cbCopy full SHA for 42230cb
.github/workflows/sparrow-api-selfhost-publish.yml
@@ -1,20 +1,24 @@
1
name: Self-host Docker Image
2
on:
3
- push:
4
- branches: [ release-v2 ]
+
5
workflow_dispatch:
+ inputs:
6
+ image_version:
7
+ description: "Docker image version (e.g. 1.2.3)"
8
+ required: true
9
+ type: string
10
11
permissions:
12
contents: read
13
-env:
- DOCKER_IMAGE_VERSION: ${{ vars.SELF_HOST_DOCKER_IMAGE_VERSION }}
-
14
jobs:
15
build:
16
runs-on: ubuntu-latest
17
environment: self-host
18
19
+ env:
20
+ DOCKER_IMAGE_VERSION: ${{ inputs.image_version }}
21
22
steps:
23
- name: Checkout
24
uses: actions/checkout@v4
0 commit comments