Skip to content

Commit

Permalink
Convert empty env vars into None
Browse files Browse the repository at this point in the history
  • Loading branch information
jdisanti committed Feb 3, 2023
1 parent ae38230 commit 13651d6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/scripts/acquire-build-image
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,8 @@ class Context:
image_tag = get_cmd_output("./docker-image-hash", cwd=script_path)[1]
allow_local_build = os.getenv("ALLOW_LOCAL_BUILD") != "false"
github_actions = os.getenv("GITHUB_ACTIONS") == "true"
encrypted_docker_password = os.getenv("ENCRYPTED_DOCKER_PASSWORD")
docker_passphrase = os.getenv("DOCKER_LOGIN_TOKEN_PASSPHRASE")
encrypted_docker_password = os.getenv("ENCRYPTED_DOCKER_PASSWORD") or None
docker_passphrase = os.getenv("DOCKER_LOGIN_TOKEN_PASSPHRASE") or None

print(f"Start path: {start_path}")
print(f"Script path: {script_path}")
Expand Down

0 comments on commit 13651d6

Please sign in to comment.