Skip to content

ci: only build ros2-ws and ros2-control (#97) #97

ci: only build ros2-ws and ros2-control (#97)

ci: only build ros2-ws and ros2-control (#97) #97

Workflow file for this run

name: Build and Push Multi-Arch Images
# Run workflow on pushes to main branch
on:
push:
branches:
- main
workflow_dispatch:
jobs:
build-ws:
strategy:
matrix:
ros2_distro: [ humble, iron ]
name: Build and publish ros2-ws:${{ matrix.ros2_distro }}
uses: ./.github/workflows/reusable-build-push.yml
with:
workspace: ros2-ws
base_tag: ${{ matrix.ros2_distro }}
secrets:
token: ${{ secrets.GITHUB_TOKEN }}
build-control:
needs: build-ws
strategy:
matrix:
ros2_distro: [ humble, iron ]
name: Build and publish ros2-control:${{ matrix.ros2_distro }}
uses: ./.github/workflows/reusable-build-push.yml
with:
workspace: ros2-control
base_tag: ${{ matrix.ros2_distro }}
dockerfile_extension: .${{ matrix.ros2_distro }}
secrets:
token: ${{ secrets.GITHUB_TOKEN }}