From ef43f3014b8ed172f37d99ae4bd511b4009d0e3e Mon Sep 17 00:00:00 2001 From: Christian de Jonge Date: Wed, 12 Aug 2026 08:11:43 +0200 Subject: [PATCH] CI: Trim whitespace from parsed staging versionTag in promote --- .github/workflows/promote_to_production.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/promote_to_production.yml b/.github/workflows/promote_to_production.yml index 1811370bb..300e5fa80 100644 --- a/.github/workflows/promote_to_production.yml +++ b/.github/workflows/promote_to_production.yml @@ -39,7 +39,7 @@ jobs: id: get_version_tag run: | TAG_LINE_NUMBER=$(($(grep -n "auroraprodacr.azurecr.io/robotics/flotilla-frontend" k8s_kustomize/overlays/staging/kustomization.yaml | cut --delimiter=":" --fields=1)+1)) - VERSION_TAG=$(sed -n "${TAG_LINE_NUMBER}p" k8s_kustomize/overlays/staging/kustomization.yaml | cut --delimiter=":" --fields=2) + VERSION_TAG=$(sed -n "${TAG_LINE_NUMBER}p" k8s_kustomize/overlays/staging/kustomization.yaml | cut --delimiter=":" --fields=2 | tr -d '[:space:]') echo "tag=$VERSION_TAG" >> "$GITHUB_OUTPUT" run_migrations: