-
Notifications
You must be signed in to change notification settings - Fork 192
46 lines (43 loc) · 1.05 KB
/
humble-docker-build.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
name: Build Humble Dockerfile
# description: builds the dockerfile contained within the repo
on:
pull_request:
branches:
- humble
paths:
- '**.hpp'
- '**.cpp'
- Dockerfile/**
- '.github/workflows/humble-docker-build.yml'
- '**/package.xml'
- '**/CMakeLists.txt'
- '**.xacro'
- '**.py'
- '**.yaml'
- 'ros2_control_demos.humble.repos'
push:
branches:
- humble
paths:
- '**.hpp'
- '**.cpp'
- Dockerfile/**
- '.github/workflows/humble-docker-build.yml'
- '**/package.xml'
- '**/CMakeLists.txt'
- '**.xacro'
- '**.py'
- '**.yaml'
- 'ros2_control_demos.humble.repos'
schedule:
# Run every morning to detect broken dependencies
- cron: '40 1 * * *'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
ref: humble
- name: Build the Docker image
run: docker build --file Dockerfile/Dockerfile --tag ros2_control_demos_humble --build-arg ROS_DISTRO=humble .