From 027f74f8e97fc4a5392b606e2ad39d980a0503bf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=A1s=20Georger?= Date: Sun, 25 Oct 2026 19:03:16 -0300 Subject: [PATCH] Refactor environment variable loading in build-gateway.yaml MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Updated the environment variable loading method in the GitHub Actions workflow. Signed-off-by: Nicolás Georger --- .github/workflows/build-gateway.yaml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build-gateway.yaml b/.github/workflows/build-gateway.yaml index 9d898a1..d3203ce 100644 --- a/.github/workflows/build-gateway.yaml +++ b/.github/workflows/build-gateway.yaml @@ -40,10 +40,11 @@ jobs: shell: bash run: | set -euo pipefail - while IFS= read -r line; do - case "$line" in ''|'#'*) continue ;; esac - echo "$line" >> "$GITHUB_ENV" - done < versions.env + set -a + # shellcheck disable=SC1091 + source versions.env + set +a + identity="$DSH_VERSION" [ -z "$RELEASE_REVISION" ] || identity="$DSH_VERSION-$RELEASE_REVISION" {