Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
sgxwallet
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
董子豪
sgxwallet
Commits
e79b3d64
Unverified
Commit
e79b3d64
authored
Nov 12, 2020
by
Stan Kladko
Committed by
GitHub
Nov 12, 2020
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #213 from skalenetwork/enhancment/SKALE-3534-small-github-actions-improvements
SKALE-3532-github-actions-improvements
parents
b1aece6f
0512a875
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
26 additions
and
10 deletions
+26
-10
dockerimage.yml
.github/workflows/dockerimage.yml
+8
-3
dockerimagebase.yml
.github/workflows/dockerimagebase.yml
+2
-1
dockerimagerelease.yml
.github/workflows/dockerimagerelease.yml
+8
-3
dockerimagesim.yml
.github/workflows/dockerimagesim.yml
+8
-3
No files found.
.github/workflows/dockerimage.yml
View file @
e79b3d64
name
:
Build, test and push SGX container
on
:
[
push
]
on
:
workflow_dispatch
:
push
:
jobs
:
build
:
runs-on
:
ubuntu-
latest
runs-on
:
ubuntu-
18.04
env
:
DOCKER_USERNAME
:
${{ secrets.DOCKER_USERNAME }}
DOCKER_PASSWORD
:
${{ secrets.DOCKER_PASSWORD }}
...
...
@@ -17,7 +19,10 @@ jobs:
-
name
:
build
run
:
python3 scripts/docker_build.py Dockerfile sgxwallet ${GITHUB_SHA}
-
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') ||
contains(github.ref, 'SECURE_ENCLAVE_CHANGES')
run
:
|
export BRANCH=${GITHUB_REF##*/}
echo "Branch $BRANCH"
...
...
.github/workflows/dockerimagebase.yml
View file @
e79b3d64
name
:
Build base container
on
:
workflow_dispatch
:
push
:
tags
:
-
build_base*
jobs
:
build
:
runs-on
:
ubuntu-
latest
runs-on
:
ubuntu-
18.04
env
:
DOCKER_USERNAME
:
${{ secrets.DOCKER_USERNAME }}
DOCKER_PASSWORD
:
${{ secrets.DOCKER_PASSWORD }}
...
...
.github/workflows/dockerimagerelease.yml
View file @
e79b3d64
name
:
Build, test and push release SGX container
on
:
[
push
]
on
:
workflow_dispatch
:
push
:
jobs
:
build
:
runs-on
:
ubuntu-
latest
runs-on
:
ubuntu-
18.04
env
:
DOCKER_USERNAME
:
${{ secrets.DOCKER_USERNAME }}
DOCKER_PASSWORD
:
${{ secrets.DOCKER_PASSWORD }}
...
...
@@ -17,7 +19,10 @@ jobs:
-
name
:
build
run
:
python3 scripts/docker_build.py Dockerfile sgxwallet ${GITHUB_SHA}
-
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') ||
contains(github.ref, 'SECURE_ENCLAVE_CHANGES')
run
:
|
export BRANCH=${GITHUB_REF##*/}
echo "Branch $BRANCH"
...
...
.github/workflows/dockerimagesim.yml
View file @
e79b3d64
name
:
Build, test and push sim mode container
on
:
[
push
]
on
:
workflow_dispatch
:
push
:
jobs
:
build
:
runs-on
:
ubuntu-
latest
runs-on
:
ubuntu-
18.04
env
:
DOCKER_USERNAME
:
${{ secrets.DOCKER_USERNAME }}
DOCKER_PASSWORD
:
${{ secrets.DOCKER_PASSWORD }}
...
...
@@ -17,7 +19,10 @@ jobs:
-
name
:
submodule update
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')
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"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment