Skip to content

micro-ROS Agent Docker generation #41

micro-ROS Agent Docker generation

micro-ROS Agent Docker generation #41

name: micro-ROS Agent Docker generation
on:
workflow_dispatch:
inputs:
name:
description: "Manual trigger"
jobs:
agent_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@v4
with:
ref: ${{ matrix.branch }}
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to DockerHub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v5
with:
context: ./micro-ROS-Agent/
push: true
platforms: linux/amd64,linux/arm64
tags: microros/micro-ros-agent:${{ matrix.ros_distribution }}