Unverified Commit 4283072d authored by kladko's avatar kladko

SKALE-2077 Fixed Naming

parent 08a35ce1
...@@ -56,12 +56,14 @@ if (BRANCH == "develop") : ...@@ -56,12 +56,14 @@ if (BRANCH == "develop") :
TAG_POSTFIX = "latest"; TAG_POSTFIX = "latest";
else : else :
TAG_POSTFIX = "latest_commit" TAG_POSTFIX = "latest_commit"
FULL_IMAGE_NAME = "skalenetwork/" + IMAGE_NAME +":" + TAG_POSTFIX;
print("Starting build for branch " + BRANCH, flush=True) print("Starting build for branch " + BRANCH, flush=True)
assert subprocess.call(["pwd"]) == 0; assert subprocess.call(["pwd"]) == 0;
assert subprocess.call(["docker", "build", topDir, "--file", topDir + "/" + DOCKER_FILE_NAME, "--tag", assert subprocess.call(["docker", "build", topDir, "--file", topDir + "/" + DOCKER_FILE_NAME, "--tag",
"skalenetwork/" + IMAGE_NAME + ":" + TAG_POSTFIX]) == 0; FULL_IMAGE_NAME]) == 0;
...@@ -61,10 +61,7 @@ if (BRANCH == "develop") : ...@@ -61,10 +61,7 @@ if (BRANCH == "develop") :
else : else :
TAG_POSTFIX = "latest_commit" TAG_POSTFIX = "latest_commit"
FULL_IMAGE_NAME = "skalenetwork/" + IMAGE_NAME +":" + TAG_POSTFIX;
assert subprocess.call(["docker", "push", FULL_IMAGE_NAME]) == 0;
#print(sys.argv[1]);
#print(sys.argv[2]);
assert subprocess.call(["docker", "push", "skalenetwork/" + IMAGE_NAME + ":" + TAG_POSTFIX]) == 0;
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