Commit 18f36b0c authored by Alexander Lercher's avatar Alexander Lercher

updated build script to show push status

parent 0839a52c
...@@ -33,9 +33,11 @@ for command_arg in command_args: ...@@ -33,9 +33,11 @@ for command_arg in command_args:
exit_val = os.system(f"docker image build -t {image_name} {ROOT}") exit_val = os.system(f"docker image build -t {image_name} {ROOT}")
os.remove(os.path.join(ROOT, DOCKER_COMPOSE_NAME)) os.remove(os.path.join(ROOT, DOCKER_COMPOSE_NAME))
res_str.append(f"### {image_name} built with exit code {exit_val}") res_str.append(f"{image_name} built with exit code {exit_val}")
os.system(f"docker push {image_name}") os.system(f"docker push {image_name}")
res_str.append(f"{image_name} pushed with exit code {exit_val}")
print(f"Found {len(command_args)} images") print(f"Found {len(command_args)} images")
for s in res_str: for s in res_str:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment