Skip to content

Commit a6374dd

Browse files
Add ref for checkout for scheduled build (ros-controls#461)
1 parent 7dc41df commit a6374dd

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

.github/workflows/humble-docker-build.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,7 @@ jobs:
1818
runs-on: ubuntu-latest
1919
steps:
2020
- uses: actions/checkout@v4
21+
with:
22+
ref: humble
2123
- name: Build the Docker image
22-
run: docker build . --file Dockerfile/Dockerfile --tag ros2_control_demos_humble
24+
run: docker build --file Dockerfile/Dockerfile --tag ros2_control_demos_humble --build-arg ROS_DISTRO=humble .

.github/workflows/iron-docker-build.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,7 @@ jobs:
1818
runs-on: ubuntu-latest
1919
steps:
2020
- uses: actions/checkout@v4
21+
with:
22+
ref: iron
2123
- name: Build the Docker image
22-
run: docker build . --file Dockerfile/Dockerfile --tag ros2_control_demos_iron
24+
run: docker build --file Dockerfile/Dockerfile --tag ros2_control_demos_iron --build-arg ROS_DISTRO=iron .

.github/workflows/rolling-docker-build.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,7 @@ jobs:
1818
runs-on: ubuntu-latest
1919
steps:
2020
- uses: actions/checkout@v4
21+
with:
22+
ref: master
2123
- name: Build the Docker image
22-
run: docker build . --file Dockerfile/Dockerfile --tag ros2_control_demos_rolling
24+
run: docker build --file Dockerfile/Dockerfile --tag ros2_control_demos_rolling --build-arg ROS_DISTRO=rolling .

0 commit comments

Comments
 (0)