Skip to content

Refactor logging (backport #543) (backport #619) #611

Refactor logging (backport #543) (backport #619)

Refactor logging (backport #543) (backport #619) #611

name: Build Iron Dockerfile
# description: builds the dockerfile contained within the repo
on:
pull_request:
branches:
- iron
paths:
- '**.hpp'
- '**.cpp'
- Dockerfile/**
- '.github/workflows/iron-docker-build.yml'
- '**/package.xml'
- '**/CMakeLists.txt'
- '**.xacro'
- '**.py'
- '**.yaml'
- 'ros2_control_demos.iron.repos'
push:
branches:
- iron
paths:
- '**.hpp'
- '**.cpp'
- Dockerfile/**
- '.github/workflows/iron-docker-build.yml'
- '**/package.xml'
- '**/CMakeLists.txt'
- '**.xacro'
- '**.py'
- '**.yaml'
- 'ros2_control_demos.iron.repos'
schedule:
# Run every morning to detect broken dependencies
- cron: '50 1 * * *'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
ref: iron
- name: Build the Docker image
run: docker build --file Dockerfile/Dockerfile --tag ros2_control_demos_iron --build-arg ROS_DISTRO=iron .