Skip to content

Containerization Pipeline and Ubuntu 22.04 Upgrade #31

Containerization Pipeline and Ubuntu 22.04 Upgrade

Containerization Pipeline and Ubuntu 22.04 Upgrade #31

Workflow file for this run

name: Docker
on: [push, pull_request]
jobs:
clean-up:
name: Clean up
runs-on: self-hosted
steps:
- name: Clean up
run: rm -rf *
create-image:
name: Create docker image
runs-on: self-hosted
steps:
- uses: docker/login-action@v3
name: Login to Docker Hub
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- uses: robinraju/[email protected]
name: Download python-api
with:
repository: carla-compose/carla
latest: true
fileName: PythonAPI.tar.gz
out-file-path: ../artifacts
- name: Extract PythonAPI
run: tar -xvzf ../artifacts/PythonAPI.tar.gz -C ../artifacts
- uses: docker/build-push-action@v5
name: Build and push
with:
push: true
file: docker/Dockerfile
tags: cgellerac/carla-scenario-runner