Unverified Commit c7e8173e authored by Oleh Nikolaiev's avatar Oleh Nikolaiev Committed by GitHub

Merge branch 'develop' into feature/SKALE-2002-backup

parents bb7aa398 07d5e619
......@@ -28,5 +28,5 @@ jobs:
echo "Version $VERSION"
export RELEASE=true
echo "::set-env name=RELEASE::$RELEASE"
bash ./scripts/build_image.sh Dockerfile
bash ./scripts/publish_image.sh Dockerfile sgxwallet
\ No newline at end of file
bash ./scripts/build_image.sh Dockerfile sgxwallet
bash ./scripts/publish_image.sh sgxwallet
\ No newline at end of file
......@@ -31,5 +31,5 @@ jobs:
echo "Version $VERSION"
export RELEASE=true
echo "::set-env name=RELEASE::$RELEASE"
bash ./scripts/build_image.sh DockerfileBase
bash ./scripts/publish_image.sh DockerfileBase sgxwallet_base
\ No newline at end of file
bash ./scripts/build_image.sh DockerfileBase sgxwallet_base
bash ./scripts/publish_image.sh sgxwallet_base
\ No newline at end of file
......@@ -26,7 +26,7 @@ jobs:
export VERSION=$(bash ./scripts/calculate_version.sh $BRANCH $VERSION)
echo "::set-env name=VERSION::$VERSION"
echo "Version $VERSION"
bash ./scripts/build_image.sh DockerfileSimulation
bash ./scripts/build_image.sh DockerfileSimulation sgxwallet_sim
- name: build container for testing
run: python3 scripts/docker_build.py DockerfileSimulation sgxwalletsim ${GITHUB_SHA}
- name: test
......@@ -41,7 +41,7 @@ jobs:
echo "Version $VERSION"
export RELEASE=true
echo "::set-env name=RELEASE::$RELEASE"
bash ./scripts/publish_image.sh DockerfileSimulation sgxwalletsim
bash ./scripts/publish_image.sh sgxwallet_sim
- name: Create Release
if: contains(github.ref, 'develop') || contains(github.ref, 'beta') || contains(github.ref, 'master') || contains(github.ref, 'stable')
id: create_release
......
......@@ -3,6 +3,8 @@ FROM skalenetwork/sgxwallet_base:latest
COPY . /usr/src/sdk
WORKDIR /usr/src/sdk
RUN touch /var/hwmode
RUN ./autoconf.bash
RUN ./configure
......
1.50.2
\ No newline at end of file
1.50.3
\ No newline at end of file
......@@ -3,13 +3,14 @@
set -e
DOCKERFILE=$1
CONTAINER_NAME=$2
: "${VERSION?Need to set VERSION}"
: "${BRANCH?Need to set BRANCH}"
NAME=sgx
REPO_NAME=skalenetwork/$NAME
IMAGE_NAME=$REPO_NAME:$VERSION
IMAGE_NAME=$REPO_NAME.$CONTAINER_NAME:$VERSION
LATEST_IMAGE_NAME=$REPO_NAME:$BRANCH-latest
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
......
......@@ -2,8 +2,7 @@
set -e
DOCKERFILE=$1
CONTAINER_NAME=$2
CONTAINER_NAME=$1
: "${VERSION?Need to set VERSION}"
: "${BRANCH?Need to set BRANCH}"
......
......@@ -87,7 +87,7 @@ int main(int argc, char *argv[]) {
while ((opt = getopt(argc, argv, "cshd0abyvV")) != -1) {
while ((opt = getopt(argc, argv, "cshd0abyvVn")) != -1) {
switch (opt) {
case 'h':
printUsage();
......
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