SKALE-2202 test build

parent 204708cd
......@@ -25,6 +25,6 @@ jobs:
echo "Version $VERSION"
export RELEASE=true
echo "::set-env name=RELEASE::$RELEASE"
bash ./scripts/build_and_publish.sh sgxwallet Dockerfile
bash ./scripts/build_and_publish.sh Dockerfile
......@@ -28,4 +28,4 @@ jobs:
echo "Version $VERSION"
export RELEASE=true
echo "::set-env name=RELEASE::$RELEASE"
bash ./scripts/build_and_publish.sh sgxwallet_base DockerfileBase
\ No newline at end of file
bash ./scripts/build_and_publish.sh DockerfileBase
\ No newline at end of file
......@@ -18,7 +18,7 @@ jobs:
- name: test
run: python3 scripts/docker_test.py ${GITHUB_REF##*/} DockerfileSimulation sgxwalletsim
- name: deploy docker image
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')
run : |
export BRANCH=${GITHUB_REF##*/}
echo "Branch $BRANCH"
......@@ -29,7 +29,7 @@ jobs:
echo "Version $VERSION"
export RELEASE=true
echo "::set-env name=RELEASE::$RELEASE"
bash ./scripts/build_and_publish.sh sgxwalletsim DockerfileSimulation
bash ./scripts/build_and_publish.sh DockerfileSimulation
- name: Create Release
if: contains(github.ref, 'develop') || contains(github.ref, 'beta') || contains(github.ref, 'master') || contains(github.ref, 'stable')
id: create_release
......
......@@ -43,7 +43,7 @@ for (( VERSION_NUMBER=0; ; VERSION_NUMBER++ ))
do
if [ "$VERSION" = "1.49" ] && [ "$VERSION_NUMBER" -le 4 ]
then
VERSION_NUMBER=4
VERSION_NUMBER=123
fi
RESULT_VERSION="$CONTAINER.$VERSION-$LABEL.$VERSION_NUMBER"
if ! [ $(git tag -l ?$RESULT_VERSION) ]
......
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