Skip to content

Commit dd278e8

Browse files
committed
Add Agent Docker generation action
Signed-off-by: Pablo Garrido <pablogs9@gmail.com> Update Signed-off-by: Pablo Garrido <pablogs9@gmail.com> Fix Signed-off-by: Pablo Garrido <pablogs9@gmail.com> Update Signed-off-by: Pablo Garrido <pablogs9@gmail.com>
1 parent 94b1fce commit dd278e8

File tree

1 file changed

+41
-0
lines changed

1 file changed

+41
-0
lines changed
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
name: micro-ROS Agent Docker generation
2+
3+
on:
4+
workflow_dispatch:
5+
inputs:
6+
name:
7+
description: "Manual trigger"
8+
9+
jobs:
10+
agent_docker_generation:
11+
runs-on: ubuntu-latest
12+
strategy:
13+
fail-fast: false
14+
matrix:
15+
include:
16+
- ros_distribution: foxy
17+
branch: foxy
18+
- ros_distribution: galactic
19+
branch: galactic
20+
# - ros_distribution: rolling
21+
# branch: main
22+
steps:
23+
- uses: actions/checkout@v3
24+
with:
25+
ref: ${{ matrix.branch }}
26+
- name: Set up QEMU
27+
uses: docker/setup-qemu-action@v1
28+
- name: Set up Docker Buildx
29+
uses: docker/setup-buildx-action@v1
30+
- name: Login to DockerHub
31+
uses: docker/login-action@v1
32+
with:
33+
username: ${{ secrets.DOCKERHUB_USERNAME }}
34+
password: ${{ secrets.DOCKERHUB_TOKEN }}
35+
- name: Build and push
36+
uses: docker/build-push-action@v2
37+
with:
38+
context: ./micro-ROS-Agent/
39+
push: true
40+
platforms: linux/amd64,linux/arm64
41+
tags: microros/micro-ros-agent:${{ matrix.ros_distribution }}

0 commit comments

Comments
 (0)