Unverified Commit b769cfea authored by kladko's avatar kladko

Added image tagging

parent ad9f2414
......@@ -62,12 +62,12 @@ print(topDir);
assert subprocess.call(["docker", "build", topDir, "--file", "DockerfileSimulation", "--tag",
"skalenetwork/sgxwalletsim:latest"])
"skalenetwork/sgxwalletsim:latest"]) == 0
assert subprocess.call(["docker", "run", "-v", topDir + "/sgx_data:/usr/src/sdk/sgx_data",
"-d", "--network=host", "skalenetwork/sgxwalletsim:latest"]);
"-d", "--network=host", "skalenetwork/sgxwalletsim:latest"]) == 0
time.sleep(5);
assert subprocess.call(["docker", "push", "skalenetwork/sgxwalletsim:latest"]);
assert subprocess.call(["docker", "push", "skalenetwork/sgxwalletsim:latest"]) == 0;
print("Build and push successfull.")
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