Skip to content

Commit e6b2f9e

Browse files
committed
CI: Trim whitespace from parsed staging versionTag in promote
1 parent df09e63 commit e6b2f9e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/promote_to_production.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
id: get_version_tag
4040
run: |
4141
TAG_LINE_NUMBER=$(($(grep -n "auroraprodacr.azurecr.io/robotics/flotilla-frontend" k8s_kustomize/overlays/staging/kustomization.yaml | cut --delimiter=":" --fields=1)+1))
42-
VERSION_TAG=$(sed -n "${TAG_LINE_NUMBER}p" k8s_kustomize/overlays/staging/kustomization.yaml | cut --delimiter=":" --fields=2)
42+
VERSION_TAG=$(sed -n "${TAG_LINE_NUMBER}p" k8s_kustomize/overlays/staging/kustomization.yaml | cut --delimiter=":" --fields=2 | tr -d '[:space:]')
4343
echo "tag=$VERSION_TAG" >> "$GITHUB_OUTPUT"
4444
4545
run_migrations:

0 commit comments

Comments
 (0)