Skip to content

Commit

Permalink
ci: add ci pipeline for docker image build and ros2 colcon build
Browse files Browse the repository at this point in the history
  • Loading branch information
kluge7 committed Sep 27, 2024
1 parent 6542a66 commit 9996a7d
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/ci-docker-build.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: CI - Docker Build

on: [push]

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Set up Docker
uses: docker/setup-buildx-action@v2

- name: Build Docker Image
run: |
docker build -t vortex-auv:latest .
- name: Run Docker Container and build ROS 2 workspace
run: |
docker run --rm vortex-auv:latest /bin/bash -c "source /opt/ros/humble/setup.bash && colcon build --symlink-install"

0 comments on commit 9996a7d

Please sign in to comment.