forked from carla-simulator/ros-bridge
-
Notifications
You must be signed in to change notification settings - Fork 0
49 lines (41 loc) · 1.28 KB
/
docker.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
name: Docker
on: [push, pull_request]
jobs:
clean-up:
name: Clean up
runs-on: ubuntu-latest
steps:
- name: Clean up
run: rm -rf *
docker-ros:
runs-on: ubuntu-latest
needs: clean-up
steps:
- uses: actions/checkout@v4
name: Checkout repository
with:
submodules: true
- uses: robinraju/[email protected]
name: Download PythonAPI
with:
repository: carla-compose/carla-simulator
latest: true
fileName: PythonAPI.tar.gz
extract: true
out-file-path: docker/additional-files
- name: Remove PythonAPI.tar.gz
run: rm docker/additional-files/PythonAPI.tar.gz
- uses: ika-rwth-aachen/[email protected]
name: Run docker-ros pipeline
with:
base-image: rwthika/ros2:humble
command: ros2 launch carla_ros_bridge carla_ros_bridge.launch.py
target: run
platform: amd64
registry: docker.io
registry-user: ${{ secrets.DOCKER_USERNAME }}
registry-password: ${{ secrets.DOCKER_PASSWORD }}
image-name: rwthika/carla-ros-bridge
image-tag: ros2
enable-push-as-latest: true
enable-checkout: false