diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 786ffee7a965d243b344d56f1278a8c21398d05e..1d17334b6ad9a82c9d4a4cb6656b56d129a71b75 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,7 +1,9 @@ default: before_script: - set -ex - - env + # env -0 | sort -z | tr '\0' '\n': Sort env output alphabetically, keeping multiline variables intact + # egrep: Remove sensitive information from the output of env + - env -0 | sort -z | tr '\0' '\n' | egrep -ve '^(DOCKER_AUTH_CONFIG|GOOGLE_APPLICATION_CREDENTIALS)=.*' interruptible: true tags: - 1cpu-4gb # build on smaller machine