1
0
mirror of https://github.com/sredevopsorg/deepseek-kubernetes-sandbox.git synced 2026-11-03 01:13:24 +00:00

Refactor environment variable loading in build-gateway.yaml

Updated the environment variable loading method in the GitHub Actions workflow.

Signed-off-by: Nicolás Georger <info@sredevops.org>
This commit is contained in:
Nicolás Georger
2026-10-25 19:03:16 -03:00
committed by GitHub
parent d627526e3e
commit 027f74f8e9

View File

@@ -40,10 +40,11 @@ jobs:
shell: bash shell: bash
run: | run: |
set -euo pipefail set -euo pipefail
while IFS= read -r line; do set -a
case "$line" in ''|'#'*) continue ;; esac # shellcheck disable=SC1091
echo "$line" >> "$GITHUB_ENV" source versions.env
done < versions.env set +a
identity="$DSH_VERSION" identity="$DSH_VERSION"
[ -z "$RELEASE_REVISION" ] || identity="$DSH_VERSION-$RELEASE_REVISION" [ -z "$RELEASE_REVISION" ] || identity="$DSH_VERSION-$RELEASE_REVISION"
{ {