From 5add51bcb8a12a351c3a3e67a1f8dbfa12022f10 Mon Sep 17 00:00:00 2001 From: Eddy Filip Date: Mon, 16 Aug 2021 17:17:20 +0200 Subject: [PATCH] Change to new command signature The command is changed from `op list envars` to `op env ls` --- entrypoint.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/entrypoint.sh b/entrypoint.sh index fe0de74..5987638 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -3,7 +3,7 @@ set -e # Install op-cli -curl -sSfLo op.zip "https://drive.google.com/uc?export=download&id=1HRAsihTN0Cx0pWZEWN06jAWxo0eW5eG-" +curl -sSfLo op.zip "https://drive.google.com/uc?export=download&id=1ih-kXa-5Jui4U-VETWbFqzfYUROB_Ukr" unzip -od /usr/local/bin/ op.zip && rm op.zip if [ -z "$OP_CONNECT_TOKEN" ] || [ -z "$OP_CONNECT_HOST" ]; then @@ -34,7 +34,7 @@ fi # Iterate over environment varables to find 1Password references, load the secret values, # and make them available as environment variables in the next steps. IFS=$'\n' -for env_var in $(op list envars); do +for env_var in $(op env ls); do ref=$(printenv $env_var) echo "Populating variable: $env_var"