Shutdown when can not connect to sensor on startup in ROS2 (foxy/gala… #397
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: ouster-ros | |
on: | |
push: | |
branches: | |
- ros2-foxy | |
pull_request: | |
branches: | |
- ros2-foxy | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
ros_distro: | |
- foxy | |
- galactic | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: true | |
- name: Build the Docker image | |
run: | | |
docker build . \ | |
--build-arg ROS_DISTRO=${{ matrix.ros_distro }} \ | |
--file Dockerfile \ | |
--tag ouster-ros-${{ matrix.ros_distro }}:$(date +%s) |