Skip to content

Commit

Permalink
Ability to pass ts_version when running workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
singhalkarun authored Dec 22, 2023
1 parent d3b3229 commit 7fe0982
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,13 @@ on:
type: boolean
required: false
default: false
ts_version:
description: 'TS version to be used'
required: false
default: main
env:
ORG: ${{inputs.ORG}}
TS_VERSION: main
TS_VERSION: ${{inputs.ts_version}}
BETA: 1 # prevents the latest tag from being pushed.
jobs:

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

0 comments on commit 7fe0982

Please sign in to comment.