mirror of
https://github.com/GNS3/gns3-registry.git
synced 2024-12-18 20:37:57 +00:00
Handle if environment variable DOCKER_ACCOUNT is undefined
This commit is contained in:
parent
72c91376f3
commit
da2d2d49d5
2
.github/bin/docker_build
vendored
2
.github/bin/docker_build
vendored
@ -412,7 +412,7 @@ def xor(*params):
|
||||
args = parser.parse_args()
|
||||
sys.stdout.reconfigure(line_buffering=True)
|
||||
|
||||
docker_login = {"account": os.environ.get("DOCKER_ACCOUNT").lower(),
|
||||
docker_login = {"account": os.environ.get("DOCKER_ACCOUNT", "").lower(),
|
||||
"password": os.environ.pop("DOCKER_PASSWORD", None)}
|
||||
if docker_login["account"]:
|
||||
docker_login["account"] = docker_login["account"].rstrip("/")
|
||||
|
Loading…
Reference in New Issue
Block a user