diff --git a/.github/workflows/ubuntu.yml b/.github/workflows/ubuntu.yml index d152d05f3e1..570f4aac5e6 100644 --- a/.github/workflows/ubuntu.yml +++ b/.github/workflows/ubuntu.yml @@ -88,16 +88,17 @@ jobs: ADDITIONAL_DEBS: 'taskflow libompl-dev' ROS_DISTRO: false DOCKER_IMAGE: ${{ env.REGISTRY }}/tesseract-robotics/tesseract:${{ matrix.distro }}-${{ env.TESSERACT_VERSION }} - UNDERLAY: /root/tesseract-robotics/tesseract_target_ws/install CCACHE_DIR: ${{ github.workspace }}/${{ matrix.distro }}/.ccache + BASEDIR: /opt PREFIX: ${{ github.repository }}_ + UNDERLAY: ${BASEDIR}/tesseract-robotics/tesseract_target_ws/install BEFORE_INIT: './.github/workflows/add_sources.sh' AFTER_INIT: '' UPSTREAM_WORKSPACE: dependencies.repos UPSTREAM_CMAKE_ARGS: "-DCMAKE_BUILD_TYPE=Release" ROSDEP_SKIP_KEYS: "fcl opw_kinematics ros_industrial_cmake_boilerplate iwyu octomap catkin ompl taskflow descartes_light trajopt trajopt_ifopt trajopt_sco trajopt_sqp ruckig" TARGET_CMAKE_ARGS: "-DCMAKE_BUILD_TYPE=${{ env.BUILD_TYPE }} -DTESSERACT_ENABLE_TESTING=ON -DTESSERACT_WARNINGS_AS_ERRORS=OFF" - AFTER_SCRIPT: 'rm -r $BASEDIR/${PREFIX}upstream_ws/build $BASEDIR/${PREFIX}target_ws/build' + AFTER_SCRIPT: 'rm -r ${BASEDIR}/${PREFIX}upstream_ws/build ${BASEDIR}/${PREFIX}target_ws/build' DOCKER_COMMIT: ${{ steps.meta.outputs.tags }} - name: Push post-build Docker