Skip to content

Commit

Permalink
try build matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
QuentinTorg committed Nov 18, 2024
1 parent 502c1e3 commit 7a67482
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,22 @@ jobs:
concurrency:
group: ${{ github.ref_name }}-build
cancel-in-progress: ${{ github.ref_name != 'main' }}
strategy:
fail-fast: false
matrix:
ros_distro:
- noetic
- melodic
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- uses: docker/setup-buildx-action@v3
- id: noetic
- name: Build docker image: ${{ matrix.ros_distro }}
uses: docker/build-push-action@v6
with:
context: .
file: Dockerfile
push: false
build-args: |
ros_codename=noetic
ros_codename=${{ matrix.ros_distro }}

0 comments on commit 7a67482

Please sign in to comment.