Build and Push Multi-Arch Images #96
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 }} |