File tree 2 files changed +5
-3
lines changed
2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 1
1
ARG IMAGE_PREFIX=""
2
2
ARG ROS_DISTRO=noetic
3
- FROM ${IMAGE_PREFIX}ros:${ROS_DISTRO}-ros-base AS base
3
+ ARG BASE_DOCKER_NAME=${ROS_DISTRO}
4
+ FROM ${IMAGE_PREFIX}ros:${BASE_DOCKER_NAME}-ros-base AS base
4
5
5
6
ENV TERM xterm
6
7
ENV IN_DOCKER 1
Original file line number Diff line number Diff line change 22
22
strategy :
23
23
fail-fast : false
24
24
matrix :
25
- ROS_DISTRO : [noetic, jammy ]
25
+ ROS_DISTRO : [noetic, one ]
26
26
runs-on : ubuntu-latest
27
27
permissions :
28
28
packages : write
58
58
file : .docker/Dockerfile
59
59
build-args : |
60
60
ROS_DISTRO=${{ matrix.ROS_DISTRO }}
61
+ BASE_DOCKER_NAME=${{ matrix.ROS_DISTRO == 'one' && 'jammy' || matrix.ROS_DISTRO }}
61
62
MUJOCO_VERSIONS=${{ env.MUJOCO_VERSIONS }}
62
- IMAGE_PREFIX=${{ matrix.ROS_DISTRO == 'jammy ' && 'ubiagni/' || '' }}
63
+ IMAGE_PREFIX=${{ matrix.ROS_DISTRO == 'one ' && 'ubiagni/' || '' }}
63
64
push : true
64
65
no-cache : ${{ steps.apt.outputs.no_cache || github.event_name == 'workflow_dispatch' }}
65
66
cache-from : type=registry,ref=${{ env.IMAGE }}
You can’t perform that action at this time.
0 commit comments