CI #16
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
dockerfile: ['Dockerfile.melodic', 'Dockerfile.noetic'] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: docker build | |
env: | |
DOCKERFILE: ${{ matrix.dockerfile }} | |
run: | | |
docker build . --file $DOCKERFILE --tag tf_service:test || exit 1 |