Skip to content

Commit c15d8fb

Browse files
committed
Update cache mode in build workflow and simplify Dockerfile build steps
1 parent c7973c4 commit c15d8fb

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

.github/workflows/build-ubuntu.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ jobs:
179179
load: true
180180
push: false
181181
cache-from: type=gha,scope=teleop-ros2-${{ matrix.ros_distro }}
182-
cache-to: type=gha,mode=max,scope=teleop-ros2-${{ matrix.ros_distro }}
182+
cache-to: type=gha,mode=min,scope=teleop-ros2-${{ matrix.ros_distro }}
183183

184184
- name: Smoke test (ROS 2 + rclpy)
185185
run: |

examples/teleop_ros2/Dockerfile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,7 @@ RUN --mount=type=cache,target=/opt/isaacteleop/build,id=isaacteleop-teleop-ros2-
8383
-DENABLE_CLANG_FORMAT_CHECK=OFF \
8484
-DISAAC_TELEOP_PYTHON_VERSION=${PYTHON_VERSION} \
8585
&& cmake --build build --config Release -j$(nproc) \
86-
&& cmake --install build --config Release \
87-
&& rm -rf build
86+
&& cmake --install build --config Release
8887

8988
COPY --chmod=644 <<EOF /usr/local/bin/teleop-env-setup
9089
source /opt/ros/${ROS_DISTRO}/setup.bash

0 commit comments

Comments
 (0)