[Example 17] RRBot with Hardware Component that publishes diagnostics #1379
Workflow file for this run
This file contains hidden or 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: Build Rolling Dockerfile | |
# description: builds the dockerfile contained within the repo | |
on: | |
pull_request: | |
branches: | |
- master | |
paths: | |
- '**.hpp' | |
- '**.cpp' | |
- Dockerfile/** | |
- '.github/workflows/rolling-docker-build.yml' | |
- '**/package.xml' | |
- '**/CMakeLists.txt' | |
- '**.xacro' | |
- '**.py' | |
- '**.yaml' | |
- 'ros2_control_demos.rolling.repos' | |
push: | |
branches: | |
- master | |
paths: | |
- '**.hpp' | |
- '**.cpp' | |
- Dockerfile/** | |
- '.github/workflows/rolling-docker-build.yml' | |
- '**/package.xml' | |
- '**/CMakeLists.txt' | |
- '**.xacro' | |
- '**.py' | |
- '**.yaml' | |
- 'ros2_control_demos.rolling.repos' | |
schedule: | |
# Run every morning to detect broken dependencies | |
- cron: '50 1 * * MON-FRI' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
ROS_DISTRO: [rolling, kilted, jazzy] | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
ref: master | |
- name: Build the Docker image | |
run: docker build --file Dockerfile/Dockerfile --tag ros2_control_demos_${{ matrix.ROS_DISTRO }} --build-arg ROS_DISTRO=${{ matrix.ROS_DISTRO }} . |