Unverified Commit 2ce6506e authored by Stan Kladko's avatar Stan Kladko Committed by GitHub

Merge pull request #230 from skalenetwork/task/SKALE-3596-intel-submission-3

Task/skale 3596 intel submission 3
parents c2aca925 5bfa9e49
......@@ -6,7 +6,6 @@ jobs:
build:
runs-on: ubuntu-18.04
env:
ACTIONS_ALLOW_UNSECURE_COMMANDS: true
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
steps:
......@@ -31,12 +30,14 @@ jobs:
run : |
export BRANCH=${GITHUB_REF##*/}
echo "Branch $BRANCH"
export VERSION=${{env.VERSION}}
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"
export RELEASE=true
echo "::set-env name=RELEASE::$RELEASE"
bash ./scripts/build_image.sh DockerfileSimulation sgxwallet_sim
bash ./scripts/build_image.sh DockerfileSim sgxwallet_sim
bash ./scripts/publish_image.sh sgxwallet_sim
env:
ACTIONS_ALLOW_UNSECURE_COMMANDS: true
......
#!/usr/bin/env bash
set -e
set -x
DOCKERFILE=$1
CONTAINER_NAME=$2
......
#!/usr/bin/env bash
set -e
set -x
CONTAINER_NAME=$1
......
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