Skip to content

Commit 8c0e8e9

Browse files
author
Frederic Spiers
committed
fix(workflow): github sha for ttl helm chart
1 parent e70c17f commit 8c0e8e9

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/pull-request.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -186,8 +186,9 @@ jobs:
186186
187187
cd $chart_directory
188188
189-
CHART_VERSION='0.1.0-${{ github.run_number }}'
190-
APP_VERSION='unstable-${GITHUB_SHA::7}'
189+
SHORT_SHA=$(echo "${{ github.sha }}" | cut -c1-7)
190+
CHART_VERSION="0.1.0-${{ github.run_number }}"
191+
APP_VERSION="unstable-${SHORT_SHA}"
191192
192193
helm dep update .
193194
helm lint --strict .

0 commit comments

Comments
 (0)