Skip to content

Commit

Permalink
Create docker-image.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
RonaldsonBellande authored Jun 8, 2024
1 parent 1782a8c commit e169f13
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Docker Image CI

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

jobs:

build_ros1:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Build the Docker image ROS1
run: docker build . --file ./docker/Dockerfile.ros1 --tag my-image-name:$(date +%s)

build_ros2:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Build the Docker image ROS2
run: docker build . --file ./docker/Dockerfile.ros1 --tag my-image-name:$(date +%s)

0 comments on commit e169f13

Please sign in to comment.