Skip to content

Commit 7fe0982

Browse files
authored
Ability to pass ts_version when running workflow
1 parent d3b3229 commit 7fe0982

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/docker-image.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,13 @@ on:
1414
type: boolean
1515
required: false
1616
default: false
17+
ts_version:
18+
description: 'TS version to be used'
19+
required: false
20+
default: main
1721
env:
1822
ORG: ${{inputs.ORG}}
19-
TS_VERSION: main
23+
TS_VERSION: ${{inputs.ts_version}}
2024
BETA: 1 # prevents the latest tag from being pushed.
2125
jobs:
2226

@@ -87,4 +91,4 @@ jobs:
8791
make push ORG=$ORG PG_VER=pg${{ matrix.pg }} TS_VERSION=$TS_VERSION BETA=$BETA TAG_VERSION="$TAG_VERSION"
8892
working-directory: bitnami
8993
env:
90-
TAG_VERSION: "${{inputs.ORG}}/timescaledb:${{inputs.version}}-pg${{ matrix.pg }}-bitnami"
94+
TAG_VERSION: "${{inputs.ORG}}/timescaledb:${{inputs.version}}-pg${{ matrix.pg }}-bitnami"

0 commit comments

Comments
 (0)