Unverified Commit ad9f2414 authored by kladko's avatar kladko

Added image tagging

parent c2cbf785
......@@ -20,5 +20,5 @@ jobs:
- name: submodule update
run: git submodule update --init --recursive
- name: build and push
run: python3 scripts/docker_build_push.py
run: python3 scripts/docker_build_push.py ${GITHUB_REF##*/}
......@@ -54,8 +54,14 @@ print("Top directory is:" + topDir)
dockerExecutable = subprocess.check_output(["which", "docker"])
SCRIPTS_DIR = topDir + "/scripts"
print(topDir);
assert subprocess.call(["docker", "build", ".", "--file", "DockerfileSimulation", "--tag",
#print(sys.argv[1]);
#print(sys.argv[2]);
assert subprocess.call(["docker", "build", topDir, "--file", "DockerfileSimulation", "--tag",
"skalenetwork/sgxwalletsim:latest"])
assert subprocess.call(["docker", "run", "-v", topDir + "/sgx_data:/usr/src/sdk/sgx_data",
"-d", "--network=host", "skalenetwork/sgxwalletsim:latest"]);
......
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