SKALE-4110 update build steps

parent 9a5c9804
...@@ -17,7 +17,7 @@ jobs: ...@@ -17,7 +17,7 @@ jobs:
- uses: actions/checkout@v1 - uses: actions/checkout@v1
- name: submodule update - name: submodule update
run: git submodule update --init --recursive run: git submodule update --init --recursive
- name: build - name: build and deploy test image
run: python3 scripts/docker_build.py Dockerfile sgxwallet ${GITHUB_SHA} run: python3 scripts/docker_build.py Dockerfile sgxwallet ${GITHUB_SHA}
- name: deploy docker image - name: deploy docker image
if: | if: |
......
...@@ -29,9 +29,8 @@ topDir = os.getcwd() + "/sgxwallet" ...@@ -29,9 +29,8 @@ topDir = os.getcwd() + "/sgxwallet"
DOCKER_FILE_NAME = sys.argv[1] DOCKER_FILE_NAME = sys.argv[1]
IMAGE_NAME = sys.argv[2] IMAGE_NAME = sys.argv[2]
COMMIT_HASH = sys.argv[3] COMMIT_HASH = sys.argv[3]
TAG_POSTFIX = "latest_commit"
FULL_IMAGE_TAG = "skalenetwork/" + IMAGE_NAME + ":" + TAG_POSTFIX FULL_IMAGE_TAG = "skalenetwork/" + IMAGE_NAME + ":" + COMMIT_HASH
print("Starting build", flush=True) print("Starting build", flush=True)
......
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