There was an error while loading. Please reload this page.
1 parent cdaa9b8 commit 16d7682Copy full SHA for 16d7682
1 file changed
.github/workflows/build.yml
@@ -4,6 +4,11 @@ on:
4
push:
5
tags:
6
- '*'
7
+ workflow_dispatch:
8
+ inputs:
9
+ version:
10
+ required: true
11
+ type: string
12
13
env:
14
DOCKER_IMAGE_URL: ${{ vars.REPO_DOCKER_IMAGE_URL }}
@@ -22,7 +27,7 @@ jobs:
22
27
23
28
- name: Set Gateway Version
24
29
id: set_version
25
- run: echo "GATEWAY_VERSION=$(git describe --tags --abbrev=0 2>/dev/null || echo 'unknown')" >> $GITHUB_OUTPUT
30
+ run: echo "GATEWAY_VERSION=$(echo '${{ inputs.version }}' || git describe --tags --abbrev=0 2>/dev/null || echo 'unknown')" >> $GITHUB_OUTPUT
26
31
32
- name: Google auth
33
id: auth
0 commit comments