Docker Image Build Workflow #62
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: Docker Image Build Workflow | |
on: | |
push: | |
branches: | |
- "master" | |
pull_request: | |
branches: | |
- "master" | |
schedule: | |
- cron: "0 0 * * 0" | |
jobs: | |
build_docker_image: | |
name: Build ${{ matrix.image }} | |
runs-on: ubuntu-latest | |
continue-on-error: false | |
strategy: | |
matrix: | |
image: | |
- ros_kinetic | |
- ros_kinetic_cuda9.2_chainer | |
- ros_melodic | |
- ros_melodic_realsense | |
- ros_melodic_cuda10.0 | |
- ros_melodic_cuda9.2_chainer | |
- ros_noetic | |
- ros_noetic_realsense | |
- ros_noetic_cuda11.3_tensorrt7.2 | |
- ros_noetic_cuda11.3_torch1.11 | |
steps: | |
- name: Check out repository code | |
uses: actions/checkout@v2 | |
- name: Build Image | |
uses: docker/build-push-action@v2 | |
with: | |
context: ./${{ matrix.image }} | |
push: false | |
tags: sktometometo/${{ matrix.image }} |