bellande_functionality_api/.github/workflows/docker-image.yml

24 lines
538 B
YAML
Raw Normal View History

2024-05-23 05:31:32 +00:00
name: Docker Image CI
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build_ros1:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
2024-05-23 05:39:56 +00:00
- name: Build the Docker image ROS1
2024-05-23 05:31:32 +00:00
run: docker build . --file ./docker/Dockerfile.ros1 --tag my-image-name:$(date +%s)
build_ros2:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
2024-05-23 05:39:56 +00:00
- name: Build the Docker image ROS2
2024-05-23 05:31:32 +00:00
run: docker build . --file ./docker/Dockerfile.ros1 --tag my-image-name:$(date +%s)