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:
9
.github/workflows/build-gateway.yaml
vendored
9
.github/workflows/build-gateway.yaml
vendored
@@ -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"
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user