File tree Expand file tree Collapse file tree 2 files changed +42
-1
lines changed Expand file tree Collapse file tree 2 files changed +42
-1
lines changed Original file line number Diff line number Diff line change @@ -74,7 +74,7 @@ USER $USERNAME
7474
7575# Build Mavros workspace
7676RUN . "/opt/ros/${ROS_DISTRO}/setup.sh" \
77- && colcon build \
77+ && colcon build --event-handlers console_cohesion+ --cmake-args -DCMAKE_VERBOSE_MAKEFILE=ON \
7878 && rm -rf $MAVROS_WORKSPACE/build
7979
8080# == "Standard" Blue Docker image proceeds from here
Original file line number Diff line number Diff line change 1818 PUSH : ${{ (github.event_name != 'pull_request') && (github.repository == 'Robotic-Decision-Making-Lab/blue') }}
1919
2020jobs :
21+ mavros :
22+ strategy :
23+ fail-fast : false
24+ matrix :
25+ ROS_DISTRO : [rolling]
26+ runs-on : ubuntu-latest
27+ permissions :
28+ packages : write
29+ contents : read
30+ steps :
31+ - name : Checkout repository
32+ uses : actions/checkout@v4
33+
34+ - name : Log into registry
35+ if : env.PUSH == 'true'
36+ uses : docker/login-action@v3.3.0
37+ with :
38+ registry : ghcr.io
39+ username : ${{ github.actor }}
40+ password : ${{ secrets.GITHUB_TOKEN }}
41+
42+ - name : Extract Docker metadata
43+ if : env.PUSH == 'true'
44+ id : meta
45+ uses : docker/metadata-action@v5.5.1
46+ with :
47+ images : ghcr.io/${{ github.repository }}
48+ tags : |
49+ type=raw,value=${{ matrix.ROS_DISTRO }}-${{ github.job }}
50+
51+ - name : Build and push Docker image
52+ uses : docker/build-push-action@v6.5.0
53+ with :
54+ context : .
55+ file : .docker/Dockerfile
56+ build-args : ROS_DISTRO=${{ matrix.ROS_DISTRO }}
57+ target : ${{ github.job }}
58+ tags : ${{ steps.meta.outputs.tags }}
59+ labels : ${{ steps.meta.outputs.labels }}
60+ push : ${{ env.PUSH }}
61+
2162 ci :
2263 strategy :
2364 fail-fast : false
You can’t perform that action at this time.
0 commit comments