Enable build runner workflow

This commit is contained in:
Moto Ishizawa
2020-02-02 21:29:33 +09:00
parent d554f4e3f4
commit 6e400a70ed
3 changed files with 40 additions and 4 deletions

22
.github/workflows/build-runner.yml vendored Normal file
View File

@@ -0,0 +1,22 @@
on:
push:
branches:
- master
paths:
- 'runner/**'
jobs:
build:
runs-on: ubuntu-latest
name: Build runner
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Build container image
run: make docker-build
working-directory: runner
- name: Docker Login
run: docker login -u summerwind -p ${{ secrets.DOCKER_ACCESS_TOKEN }}
- name: Push container image
run: make docker-push
working-directory: runner