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" {