Skip to content

Commit 452ecee

Browse files
committed
Bump micro-ROS Agent Jazzy
1 parent ab64bed commit 452ecee

File tree

2 files changed

+13
-11
lines changed

2 files changed

+13
-11
lines changed

.github/workflows/generate_agent_docker.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,21 +19,23 @@ jobs:
1919
branch: iron
2020
- ros_distribution: rolling
2121
branch: rolling
22+
- ros_distribution: jazzy
23+
branch: jazzy
2224
steps:
23-
- uses: actions/checkout@v3
25+
- uses: actions/checkout@v4
2426
with:
2527
ref: ${{ matrix.branch }}
2628
- name: Set up QEMU
27-
uses: docker/setup-qemu-action@v1
29+
uses: docker/setup-qemu-action@v3
2830
- name: Set up Docker Buildx
29-
uses: docker/setup-buildx-action@v1
31+
uses: docker/setup-buildx-action@v3
3032
- name: Login to DockerHub
31-
uses: docker/login-action@v1
33+
uses: docker/login-action@v3
3234
with:
3335
username: ${{ secrets.DOCKERHUB_USERNAME }}
3436
password: ${{ secrets.DOCKERHUB_TOKEN }}
3537
- name: Build and push
36-
uses: docker/build-push-action@v2
38+
uses: docker/build-push-action@v5
3739
with:
3840
context: ./micro-ROS-Agent/
3941
push: true

micro-ROS-Agent/Dockerfile

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
1-
FROM microros/base:rolling AS micro-ros-agent-builder
1+
FROM ros:jazzy AS micro-ros-agent-builder
22

3+
ARG DEBIAN_FRONTEND=noninteractive
34
WORKDIR /uros_ws
45
RUN . /opt/ros/$ROS_DISTRO/setup.sh \
5-
&& . install/local_setup.sh \
6-
&& apt update \
7-
&& ros2 run micro_ros_setup create_agent_ws.sh \
8-
&& ros2 run micro_ros_setup build_agent.sh \
6+
&& git clone -b $ROS_DISTRO https://github.com/micro-ROS/micro_ros_msgs src/micro_ros_msgs \
7+
&& git clone -b $ROS_DISTRO https://github.com/micro-ROS/micro-ROS-Agent src/micro-ROS-Agent \
8+
&& colcon build \
99
&& rm -rf log/ build/ src/
1010

11-
FROM ros:rolling-ros-core
11+
FROM ros:jazzy-ros-core
1212

1313
COPY --from=micro-ros-agent-builder /uros_ws /uros_ws
1414

0 commit comments

Comments
 (0)