Skip to content

Commit

Permalink
github action docker build for foxy, humble, jazzy
Browse files Browse the repository at this point in the history
  • Loading branch information
mgonzs13 committed Nov 1, 2024
1 parent 198e7e7 commit 4cda068
Showing 1 changed file with 33 additions and 2 deletions.
35 changes: 33 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: CI with Formatting Check and Docker Build
name: CI with Formatting Checks and Docker Builds

on: [push, pull_request]

Expand Down Expand Up @@ -26,7 +26,7 @@ jobs:
clangFormatVersion: 14
source: "."

docker_build:
foxy_docker_build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
Expand All @@ -38,4 +38,35 @@ jobs:
- name: Build Docker
uses: docker/build-push-action@v6
with:
build-args: ROS_DISTRO=foxy
push: false

humble_docker_build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4

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

- name: Build Docker
uses: docker/build-push-action@v6
with:
build-args: ROS_DISTRO=humble
push: false

jazzy_docker_build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4

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

- name: Build Docker
uses: docker/build-push-action@v6
with:
build-args: ROS_DISTRO=jazzy
push: false

0 comments on commit 4cda068

Please sign in to comment.