Skip to content

Merge pull request #104 from charles-dyfis-net/document-image-arg-usage #71

Merge pull request #104 from charles-dyfis-net/document-image-arg-usage

Merge pull request #104 from charles-dyfis-net/document-image-arg-usage #71

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 }}