Skip to content

Merge pull request #114 from ei-grad/patch-1 #73

Merge pull request #114 from ei-grad/patch-1

Merge pull request #114 from ei-grad/patch-1 #73

Workflow file for this run

name: CI
on: push
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
with: {submodules: true}
- run: scripts/test
build-image:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
with: {submodules: true}
- run: scripts/build
- run: scripts/build-image
- uses: actions/upload-artifact@v1
with:
name: image
path: image
push-image:
needs: [build-image]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/download-artifact@v1
with: {name: image}
- uses: docker://concourse/registry-image-resource
with: {entrypoint: scripts/push-image}
env:
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}