Skip to content

micro-ROS Static Library Builder #18

micro-ROS Static Library Builder

micro-ROS Static Library Builder #18

name: micro-ROS Static Library Builder
on:
workflow_dispatch:
inputs:
name:
description: "Manual trigger"
jobs:
libgen_docker_generation:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
include:
- ros_distribution: humble
branch: humble
- ros_distribution: iron
branch: iron
- ros_distribution: rolling
branch: rolling
- ros_distribution: jazzy
branch: jazzy
steps:
- uses: actions/checkout@v3
with:
ref: ${{ matrix.branch }}
- name: Set up QEMU
uses: docker/setup-qemu-action@v1
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Login to DockerHub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v2
with:
context: ./micro-ROS-static-library-builder/
push: true
platforms: linux/amd64,linux/arm64
tags: microros/micro_ros_static_library_builder:${{ matrix.ros_distribution }}