Unverified Commit 30322b8e authored by kladko's avatar kladko

SKALE-3596 Intel submission. Bumped version.

parent 90772fc7
...@@ -22,23 +22,25 @@ jobs: ...@@ -22,23 +22,25 @@ jobs:
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: build and 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') ||
contains(github.ref, 'SECURE_ENCLAVE_CHANGES') contains(github.ref, 'SECURE_ENCLAVE_CHANGES')
run : | run : |
export BRANCH=${GITHUB_REF##*/} export BRANCH=${GITHUB_REF##*/}
echo "Branch $BRANCH" echo "Branch $BRANCH"
export VERSION=${{env.VERSION}} export VERSION=$(cat VERSION)
echo "::set-env name=VERSION::$VERSION" echo "Version $VERSION"
echo "Version $VERSION" export VERSION=$(bash ./scripts/calculate_version.sh $BRANCH $VERSION)
export RELEASE=true echo "::set-env name=VERSION::$VERSION"
echo "::set-env name=RELEASE::$RELEASE" echo "Version $VERSION"
bash ./scripts/build_image.sh DockerfileSimulation sgxwallet_sim export RELEASE=true
bash ./scripts/publish_image.sh sgxwallet_sim echo "::set-env name=RELEASE::$RELEASE"
env: bash ./scripts/build_image.sh DockerfileSim sgxwallet_sim
ACTIONS_ALLOW_UNSECURE_COMMANDS: true bash ./scripts/publish_image.sh sgxwallet_release
env:
ACTIONS_ALLOW_UNSECURE_COMMANDS: true
- name: Create Release - name: Create Release
if: contains(github.ref, 'develop') || contains(github.ref, 'beta') || contains(github.ref, 'master') || contains(github.ref, 'stable') if: contains(github.ref, 'develop') || contains(github.ref, 'beta') || contains(github.ref, 'master') || contains(github.ref, 'stable')
id: create_release id: create_release
......
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