Skip to content

Update docker.yml

Update docker.yml #26

Workflow file for this run

name: Docker
on: [push, pull_request]
jobs:
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: debug
run: pwd
- name: debug2
run: ls
- name: Extract PythonAPI
run: tar -xvzf scenario_runner/artifacts/PythonAPI.tar.gz -C artifacts/PythonAPI
- uses: docker/build-push-action@v5
name: Build and push
with:
push: true
file: docker/Dockerfile
tags: cgellerac/carla-scenario-runner