Unverified Commit d3c2c188 authored by kladko's avatar kladko

SKALE-3596 Intel submission. Bumped version.

parent 0ad1fc82
...@@ -19,25 +19,11 @@ jobs: ...@@ -19,25 +19,11 @@ 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 container for release
if: |
contains(github.ref, 'develop') || contains(github.ref, 'beta') ||
contains(github.ref, 'master') || contains(github.ref, 'stable') ||
contains(github.ref, 'SECURE_ENCLAVE_CHANGES')
run: |
export BRANCH=${GITHUB_REF##*/}
echo "Branch $BRANCH"
export VERSION=$(cat VERSION)
echo "Version $VERSION"
export VERSION=$(bash ./scripts/calculate_version.sh $BRANCH $VERSION)
echo "::set-env name=VERSION::$VERSION"
echo "Version $VERSION"
bash ./scripts/build_image.sh DockerfileSimulation sgxwallet_sim
- name: build container for testing - name: build container for testing
run: python3 scripts/docker_build.py DockerfileSimulation sgxwalletsim ${GITHUB_SHA} run: python3 scripts/docker_build.py DockerfileSimulation sgxwalletsim ${GITHUB_SHA}
- name: test - name: test
run: python3 scripts/docker_test.py DockerfileSimulation sgxwalletsim run: python3 scripts/docker_test.py DockerfileSimulation sgxwalletsim
- name: deploy docker image - name: build and deploy docker image
if: | if: |
contains(github.ref, 'develop') || contains(github.ref, 'beta') || contains(github.ref, 'develop') || contains(github.ref, 'beta') ||
contains(github.ref, 'master') || contains(github.ref, 'stable') || contains(github.ref, 'master') || contains(github.ref, 'stable') ||
...@@ -50,6 +36,7 @@ jobs: ...@@ -50,6 +36,7 @@ jobs:
echo "Version $VERSION" echo "Version $VERSION"
export RELEASE=true export RELEASE=true
echo "::set-env name=RELEASE::$RELEASE" echo "::set-env name=RELEASE::$RELEASE"
bash ./scripts/build_image.sh DockerfileSimulation sgxwallet_sim
bash ./scripts/publish_image.sh sgxwallet_sim bash ./scripts/publish_image.sh sgxwallet_sim
env: env:
ACTIONS_ALLOW_UNSECURE_COMMANDS: true ACTIONS_ALLOW_UNSECURE_COMMANDS: 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