Skip to content

Commit

Permalink
still fixing workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexanderBarbie committed Jun 19, 2024
1 parent 240c1a2 commit 8dffee2
Show file tree
Hide file tree
Showing 8 changed files with 47 additions and 46 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build-x64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,5 +45,6 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Push to Docker Hub
working-directory: ./PiCar-X
run: |
TAG=latest docker compose -f docker-compose-dtp.yml push
8 changes: 4 additions & 4 deletions PiCar-X/docker-compose-ds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ services:
target: desktop
args:
- TAG=${TAG:-latest}
image: abarbie/picarx-gazebo:${TAG}
image: abarbie/picarx-gazebo:${TAG:-latest}
env_file:
- ./core/dtp/env/simulation.env
environment:
Expand All @@ -63,7 +63,7 @@ services:
condition: service_healthy

mqtt-dt:
image: abarbie/picarx-arches-mqtt-bridge:${TAG}
image: abarbie/picarx-arches-mqtt-bridge:${TAG:-latest}
build:
dockerfile: Dockerfile-arches-mqtt-bridge
context: ./ros
Expand All @@ -78,7 +78,7 @@ services:
condition: service_healthy

ackermann_skill-dt:
image: abarbie/picarx-ackermann-skill:${TAG}
image: abarbie/picarx-ackermann-skill:${TAG:-latest}
build:
dockerfile: Dockerfile
context: ./ros/skills/ackermann_drive
Expand All @@ -101,7 +101,7 @@ services:

drive_monitor:
build: ./ros/skills/ackermann_drive
image: abarbie/picarx-ackermann-skill:${TAG}
image: abarbie/picarx-ackermann-skill:${TAG:-latest}
env_file:
- ./core/dtp/env/picarx-dt.env
tty: true
Expand Down
4 changes: 2 additions & 2 deletions PiCar-X/docker-compose-dt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ services:
condition: service_healthy

mqtt-dt:
image: abarbie/picarx-arches-mqtt-bridge:${TAG}
image: abarbie/picarx-arches-mqtt-bridge:${TAG:-latest}
build:
dockerfile: Dockerfile-arches-mqtt-bridge
context: ./ros
Expand All @@ -54,7 +54,7 @@ services:
condition: service_healthy

ackermann_skill-dt:
image: abarbie/picarx-ackermann-skill:${TAG}
image: abarbie/picarx-ackermann-skill:${TAG:-latest}
build:
dockerfile: Dockerfile
context: ./ros/skills/ackermann_drive
Expand Down
16 changes: 8 additions & 8 deletions PiCar-X/docker-compose-dtp-ext-gazebo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ services:
restart: on-failure

mqtt-dtp:
image: abarbie/picarx-arches-mqtt-bridge:${TAG}
image: abarbie/picarx-arches-mqtt-bridge:${TAG:-latest}
build:
dockerfile: Dockerfile-arches-mqtt-bridge
context: ./ros
Expand All @@ -52,7 +52,7 @@ services:
args:
- TAG=${TAG:-latest}
- ARCH=${ARCH:-}
image: abarbie/picarx-dcmotor-driver:${TAG}
image: abarbie/picarx-dcmotor-driver:${TAG:-latest}
env_file:
- ./core/dtp/env/picarx.env
tty: true
Expand All @@ -70,7 +70,7 @@ services:
restart: on-failure

motor_right-dtp:
image: abarbie/picarx-dcmotor-driver:${TAG}
image: abarbie/picarx-dcmotor-driver:${TAG:-latest}
tty: true
env_file:
- ./core/dtp/env/picarx.env
Expand All @@ -88,7 +88,7 @@ services:
restart: on-failure

steering-dtp:
image: abarbie/picarx-clutchgear-driver:${TAG}
image: abarbie/picarx-clutchgear-driver:${TAG:-latest}
build:
dockerfile: Dockerfile
context: ./ros/drivers/clutchgear
Expand All @@ -112,7 +112,7 @@ services:
restart: on-failure

ackermann_skill-dtp:
image: abarbie/picarx-ackermann-skill:${TAG}
image: abarbie/picarx-ackermann-skill:${TAG:-latest}
build:
dockerfile: Dockerfile
context: ./ros/skills/ackermann_drive
Expand All @@ -136,7 +136,7 @@ services:
restart: on-failure

motor_emulator_left-dtp:
image: abarbie/picarx-dcmotor-emulator:${TAG}
image: abarbie/picarx-dcmotor-emulator:${TAG:-latest}
build:
dockerfile: Dockerfile
context: ./ros/emulators/dcmotor
Expand All @@ -157,7 +157,7 @@ services:
restart: on-failure

motor_emulator_right-dtp:
image: abarbie/picarx-dcmotor-emulator:${TAG}
image: abarbie/picarx-dcmotor-emulator:${TAG:-latest}
env_file:
- ./core/dtp/env/simulation-external.env
tty: true
Expand All @@ -172,7 +172,7 @@ services:
restart: on-failure

steering_emulator-dtp:
image: abarbie/picarx-clutchgear-emulator:${TAG}
image: abarbie/picarx-clutchgear-emulator:${TAG:-latest}
build:
dockerfile: Dockerfile
context: ./ros/emulators/clutchgear
Expand Down
16 changes: 8 additions & 8 deletions PiCar-X/docker-compose-dtp-no-gazebo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ services:
restart: on-failure

mqtt-dtp:
image: abarbie/picarx-arches-mqtt-bridge:${TAG}
image: abarbie/picarx-arches-mqtt-bridge:${TAG:-latest}
build:
dockerfile: Dockerfile-arches-mqtt-bridge
context: ./ros
Expand All @@ -71,7 +71,7 @@ services:
args:
- TAG=${TAG:-latest}
- ARCH=${ARCH:-}
image: abarbie/picarx-dcmotor-driver:${TAG}
image: abarbie/picarx-dcmotor-driver:${TAG:-latest}
env_file:
- ./core/dtp/env/picarx.env
tty: true
Expand All @@ -89,7 +89,7 @@ services:
restart: on-failure

motor_right-dtp:
image: abarbie/picarx-dcmotor-driver:${TAG}
image: abarbie/picarx-dcmotor-driver:${TAG:-latest}
tty: true
env_file:
- ./core/dtp/env/picarx.env
Expand All @@ -107,7 +107,7 @@ services:
restart: on-failure

steering-dtp:
image: abarbie/picarx-clutchgear-driver:${TAG}
image: abarbie/picarx-clutchgear-driver:${TAG:-latest}
build:
dockerfile: Dockerfile
context: ./ros/drivers/clutchgear
Expand All @@ -131,7 +131,7 @@ services:
restart: on-failure

ackermann_skill-dtp:
image: abarbie/picarx-ackermann-skill:${TAG}
image: abarbie/picarx-ackermann-skill:${TAG:-latest}
build:
dockerfile: Dockerfile
context: ./ros/skills/ackermann_drive
Expand All @@ -155,7 +155,7 @@ services:
restart: on-failure

motor_emulator_left-dtp:
image: abarbie/picarx-dcmotor-emulator:${TAG}
image: abarbie/picarx-dcmotor-emulator:${TAG:-latest}
build:
dockerfile: Dockerfile
context: ./ros/emulators/dcmotor
Expand All @@ -179,7 +179,7 @@ services:
restart: on-failure

motor_emulator_right-dtp:
image: abarbie/picarx-dcmotor-emulator:${TAG}
image: abarbie/picarx-dcmotor-emulator:${TAG:-latest}
env_file:
- ./core/dtp/env/simulation.env
tty: true
Expand All @@ -197,7 +197,7 @@ services:
restart: on-failure

steering_emulator-dtp:
image: abarbie/picarx-clutchgear-emulator:${TAG}
image: abarbie/picarx-clutchgear-emulator:${TAG:-latest}
build:
dockerfile: Dockerfile
context: ./ros/emulators/clutchgear
Expand Down
20 changes: 10 additions & 10 deletions PiCar-X/docker-compose-dtp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ services:
- TAG=${TAG:-latest}
- ARCH=${ARCH:-}
target: desktop
image: abarbie/picarx-gazebo:${TAG}
image: abarbie/picarx-gazebo:${TAG:-latest}
env_file:
- ./core/dtp/env/simulation.env
environment:
Expand All @@ -47,7 +47,7 @@ services:
start_period: 1s

picarx-gazebo-control:
image: abarbie/picarx-gazebo:${TAG}
image: abarbie/picarx-gazebo:${TAG:-latest}
env_file:
- ./core/dtp/env/simulation.env
tty: true
Expand All @@ -73,7 +73,7 @@ services:
condition: service_healthy

mqtt-dtp:
image: abarbie/picarx-arches-mqtt-bridge:${TAG}
image: abarbie/picarx-arches-mqtt-bridge:${TAG:-latest}
build:
dockerfile: Dockerfile-arches-mqtt-bridge
context: ./ros
Expand All @@ -90,7 +90,7 @@ services:
condition: service_healthy

motor_left-dtp:
image: abarbie/picarx-dcmotor-driver:${TAG}
image: abarbie/picarx-dcmotor-driver:${TAG:-latest}
build:
dockerfile: Dockerfile
context: ./ros/drivers/dcmotor/
Expand All @@ -113,7 +113,7 @@ services:
condition: service_healthy

motor_right-dtp:
image: abarbie/picarx-dcmotor-driver:${TAG}
image: abarbie/picarx-dcmotor-driver:${TAG:-latest}
tty: true
env_file:
- ./core/dtp/env/picarx.env
Expand All @@ -130,7 +130,7 @@ services:
condition: service_healthy

steering-dtp:
image: abarbie/picarx-clutchgear-emulator:${TAG}
image: abarbie/picarx-clutchgear-driver:${TAG:-latest}
build:
dockerfile: Dockerfile
context: ./ros/drivers/clutchgear
Expand All @@ -152,7 +152,7 @@ services:
condition: service_healthy

ackermann_skill-dtp:
image: abarbie/picarx-ackermann-skill:${TAG}
image: abarbie/picarx-ackermann-skill:${TAG:-latest}
build:
dockerfile: Dockerfile
context: ./ros/skills/ackermann_drive
Expand All @@ -175,7 +175,7 @@ services:
condition: service_healthy

motor_emulator_left-dtp:
image: abarbie/picarx-dcmotor-emulator:${TAG}
image: abarbie/picarx-dcmotor-emulator:${TAG:-latest}
build:
dockerfile: Dockerfile
context: ./ros/emulators/dcmotor
Expand All @@ -197,7 +197,7 @@ services:
condition: service_healthy

motor_emulator_right-dtp:
image: abarbie/picarx-dcmotor-emulator:${TAG}
image: abarbie/picarx-dcmotor-emulator:${TAG:-latest}
env_file:
- ./core/dtp/env/simulation.env
tty: true
Expand All @@ -214,7 +214,7 @@ services:
condition: service_healthy

steering_emulator-dtp:
image: abarbie/picarx-clutchgear-emulator:${TAG}
image: abarbie/picarx-clutchgear-emulator:${TAG:-latest}
build:
dockerfile: Dockerfile
context: ./ros/emulators/clutchgear
Expand Down
18 changes: 9 additions & 9 deletions PiCar-X/docker-compose-dtsim.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ services:
start_period: 1s

picarx-gazebo:
image: abarbie/picarx-gazebo:${TAG}
image: abarbie/picarx-gazebo:${TAG:-latest}
build:
context: Dockerfile
dockerfile: ./simulation
Expand Down Expand Up @@ -61,7 +61,7 @@ services:
condition: service_healthy

mqtt-dtp:
image: abarbie/picarx-arches-mqtt-bridge:${TAG}
image: abarbie/picarx-arches-mqtt-bridge:${TAG:-latest}
build:
dockerfile: Dockerfile-arches-mqtt-bridge
context: ./ros
Expand All @@ -83,7 +83,7 @@ services:
args:
- TAG=${TAG:-latest}
- ARCH=${ARCH:-}
image: abarbie/picarx-dcmotor-driver:${TAG}
image: abarbie/picarx-dcmotor-driver:${TAG:-latest}
env_file:
- ./core/dtp/env/picarx.env
tty: true
Expand All @@ -99,7 +99,7 @@ services:
condition: service_healthy

motor_right-dtp:
image: abarbie/picarx-dcmotor-driver:${TAG}
image: abarbie/picarx-dcmotor-driver:${TAG:-latest}
tty: true
env_file:
- ./core/dtp/env/picarx.env
Expand All @@ -115,7 +115,7 @@ services:
condition: service_healthy

steering-dtp:
image: abarbie/picarx-clutchgear-emulator:${TAG}
image: abarbie/picarx-clutchgear-driver:${TAG:-latest}
build:
dockerfile: Dockerfile
context: ./ros/drivers/clutchgear
Expand All @@ -137,7 +137,7 @@ services:
condition: service_healthy

ackermann_skill-dtp:
image: abarbie/picarx-ackermann-skill:${TAG}
image: abarbie/picarx-ackermann-skill:${TAG:-latest}
build:
dockerfile: Dockerfile
context: ./ros/skills/ackermann_drive
Expand All @@ -159,7 +159,7 @@ services:
condition: service_healthy

motor_emulator_left-dtp:
image: abarbie/picarx-dcmotor-emulator:${TAG}
image: abarbie/picarx-dcmotor-emulator:${TAG:-latest}
build:
dockerfile: Dockerfile
context: ./ros/emulators/dcmotor
Expand All @@ -181,7 +181,7 @@ services:
condition: service_healthy

motor_emulator_right-dtp:
image: abarbie/picarx-dcmotor-emulator:${TAG}
image: abarbie/picarx-dcmotor-emulator:${TAG:-latest}
env_file:
- ./core/dtp/env/simulation.env
tty: true
Expand All @@ -197,7 +197,7 @@ services:
condition: service_healthy

steering_emulator-dtp:
image: abarbie/picarx-clutchgear-emulator:${TAG}
image: abarbie/picarx-clutchgear-emulator:${TAG:-latest}
build:
dockerfile: Dockerfile
context: ./ros/emulators/clutchgear
Expand Down
Loading

0 comments on commit 8dffee2

Please sign in to comment.