mirror of
https://github.com/introlab/rtabmap_ros.git
synced 2026-10-04 08:47:45 +08:00
workflows: added multi-arch docker images
This commit is contained in:
@@ -15,21 +15,44 @@ jobs:
|
|||||||
include:
|
include:
|
||||||
- docker_tag: kinetic
|
- docker_tag: kinetic
|
||||||
docker_path: 'kinetic'
|
docker_path: 'kinetic'
|
||||||
|
docker_platforms: |
|
||||||
|
linux/amd64
|
||||||
- docker_tag: kinetic-latest
|
- docker_tag: kinetic-latest
|
||||||
docker_path: 'kinetic/latest'
|
docker_path: 'kinetic/latest'
|
||||||
|
docker_platforms: |
|
||||||
|
linux/amd64
|
||||||
- docker_tag: melodic
|
- docker_tag: melodic
|
||||||
docker_path: 'melodic'
|
docker_path: 'melodic'
|
||||||
|
docker_platforms: |
|
||||||
|
linux/amd64
|
||||||
|
linux/arm64
|
||||||
|
linux/arm/v7
|
||||||
- docker_tag: melodic-latest
|
- docker_tag: melodic-latest
|
||||||
docker_path: 'melodic/latest'
|
docker_path: 'melodic/latest'
|
||||||
|
docker_platforms: |
|
||||||
|
linux/amd64
|
||||||
|
linux/arm64
|
||||||
- docker_tag: noetic
|
- docker_tag: noetic
|
||||||
docker_path: 'noetic'
|
docker_path: 'noetic'
|
||||||
|
docker_platforms: |
|
||||||
|
linux/amd64
|
||||||
|
linux/arm64
|
||||||
|
linux/arm/v7
|
||||||
- docker_tag: noetic-latest
|
- docker_tag: noetic-latest
|
||||||
docker_path: 'noetic/latest'
|
docker_path: 'noetic/latest'
|
||||||
|
docker_platforms: |
|
||||||
|
linux/amd64
|
||||||
|
linux/arm64
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
-
|
-
|
||||||
name: Checkout
|
name: Checkout
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
|
-
|
||||||
|
name: Set up QEMU
|
||||||
|
uses: docker/setup-qemu-action@v1
|
||||||
|
with:
|
||||||
|
platforms: all
|
||||||
-
|
-
|
||||||
name: Set up Docker Buildx
|
name: Set up Docker Buildx
|
||||||
uses: docker/setup-buildx-action@v1
|
uses: docker/setup-buildx-action@v1
|
||||||
@@ -45,6 +68,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
context: ./docker/${{ matrix.docker_path }}
|
context: ./docker/${{ matrix.docker_path }}
|
||||||
push: true
|
push: true
|
||||||
|
platforms: ${{ matrix.docker_platforms }}
|
||||||
build-args: |
|
build-args: |
|
||||||
CACHE_DATE=${{ github.head_ref }}.${{ github.sha }}
|
CACHE_DATE=${{ github.head_ref }}.${{ github.sha }}
|
||||||
tags: introlab3it/rtabmap_ros:${{ matrix.docker_tag }}
|
tags: introlab3it/rtabmap_ros:${{ matrix.docker_tag }}
|
||||||
|
|||||||
Reference in New Issue
Block a user