Merge pull request #81 from gstavrinos/rust-integration #66
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
# Based on https://github.com/marketplace/actions/build-and-push-docker-images#git-context | |
name: ros-ez-ci | |
on: | |
push: | |
branches: | |
- 'master' | |
jobs: | |
docker: | |
runs-on: ubuntu-latest | |
steps: | |
- | |
name: checkout | |
uses: actions/checkout@v3 | |
- | |
name: Set up QEMU | |
uses: docker/setup-qemu-action@v2 | |
- | |
name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v2 | |
- | |
name: Login to DockerHub | |
uses: docker/login-action@v2 | |
with: | |
username: ${{ secrets.DOCKERHUB_USERNAME }} | |
password: ${{ secrets.DOCKERHUB_PASSWORD }} | |
- | |
name: Build and push rosez Noetic | |
uses: docker/build-push-action@v3 | |
with: | |
context: . | |
file: "./internal/ros_Dockerfile" | |
push: true | |
tags: gstavrinos/rosez:latest | |
- | |
name: Build and push rosez Melodic | |
uses: docker/build-push-action@v3 | |
with: | |
context: . | |
file: "./internal/ros_melodic_Dockerfile" | |
push: true | |
tags: gstavrinos/rosezm:latest | |
- | |
name: Build and push ros2ez Humble | |
uses: docker/build-push-action@v3 | |
with: | |
context: . | |
file: "./internal/ros2_humble_Dockerfile" | |
push: true | |
tags: gstavrinos/ros2ezh:latest | |
- | |
name: Build and push ros2ez Foxy | |
uses: docker/build-push-action@v3 | |
with: | |
context: . | |
file: "./internal/ros2_foxy_Dockerfile" | |
push: true | |
tags: gstavrinos/ros2ezf:latest | |
- | |
name: Build and push ros2ez Jazzy | |
uses: docker/build-push-action@v3 | |
with: | |
context: . | |
file: "./internal/ros2_jazzy_Dockerfile" | |
push: true | |
tags: gstavrinos/ros2ezj:latest |