Skip to content

refactored docker compose files and added github actions #4

refactored docker compose files and added github actions

refactored docker compose files and added github actions #4

Workflow file for this run

name: PiCar-X Main Build
on: [push, pull_request]
jobs:
build:
runs-on: self-hosted
steps:
- uses: actions/checkout@v2
- name: Build with Docker Compose
run: |
TAG=arm64v8 docker compose -f docker-compose-core.yml build
# - name: Run pytest in Docker container
# run: |
# docker-compose -f docker-compose-core.yml run --rm app pytest
# - name: Start roslaunch in Docker container
# run: |
# docker-compose -f docker-compose-core.yml run --rm app roslaunch
- name: Push to Docker Hub
run: |
TAG=arm64v8 docker compose -f docker-compose-core.yml push