Unverified Commit cf12599a authored by kladko's avatar kladko

Added dockerf

parent c372b96b
...@@ -9,13 +9,15 @@ jobs: ...@@ -9,13 +9,15 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Login to docker
env:
GITHUB_TOKEN: ${{ secrets.DOCKER_SECRET }}
run: docker login docker.pkg.github.com -u kladkogex -p ${GITHUB_TOKEN}
- uses: actions/checkout@v1 - uses: actions/checkout@v1
- name: submodule update - name: submodule update
run: git submodule update --init --recursive run: git submodule update --init --recursive
- name: Build the Docker image - name: Build the Docker image
run: docker build . --file DockerfileSimulation --tag docker.pkg.github.com/skalenetwork/sgxwallet/sgxwalletsim:1.0 run: docker build . --file DockerfileSimulation --tag docker.pkg.github.com/skalenetwork/sgxwallet/sgxwalletsim:latest
- name: Login to docker - name: push docker image
env: run: docker push docker.pkg.github.com/skalenetwork/sgxwallet/sgxwalletsim:latest
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: docker login docker.pkg.github.com -u ${GITHUB_ACTOR} -p {GITHUB_TOKEN}; docker push docker.pkg.github.com/skalenetwork/sgxwallet/sgxwalletsim:1.0
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