Unverified Commit ec4b38fd authored by kladko's avatar kladko

Added dockerf

parent 3be23a89
name: Build and push simulation mode container name: Build and push sim container
on: [push] on: [push]
...@@ -12,13 +12,10 @@ jobs: ...@@ -12,13 +12,10 @@ jobs:
- name: Login to docker - name: Login to docker
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: docker login docker.pkg.github.com -u ${GITHUB_ACTOR} -p ${GITHUB_TOKEN} run: docker login docker.pkg.github.com -u ${GITHUB_ACTOR} -p {GITHBU_TOKEN}
shell: bash
- 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 sgxcontainer:$(date +%s) run: docker build . --file DockerfileSimulation --tag sgxcontainer:$(date +%s)
- name: Push docker image
- run: docker push docker.pkg.github.com/${GITHUB_REPOSITORY}:${$GITHUB_SHA}
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