diff --git a/.docker/Dockerfile b/.docker/Dockerfile index a4091f7d..8ffe2ece 100644 --- a/.docker/Dockerfile +++ b/.docker/Dockerfile @@ -1,7 +1,6 @@ ARG IMAGE_PREFIX="" -ARG IMAGE_SUFFIX="" ARG ROS_DISTRO=noetic -FROM ${IMAGE_PREFIX}ros:${ROS_DISTRO}-ros-base${IMAGE_SUFFIX} AS base +FROM ${IMAGE_PREFIX}ros:${ROS_DISTRO}-ros-base AS base ENV TERM xterm ENV IN_DOCKER 1 diff --git a/.github/workflows/docker.yaml b/.github/workflows/docker.yaml index b2b64fd6..ca318471 100644 --- a/.github/workflows/docker.yaml +++ b/.github/workflows/docker.yaml @@ -22,7 +22,7 @@ jobs: strategy: fail-fast: false matrix: - ROS_DISTRO: [noetic, one] + ROS_DISTRO: [noetic, jammy] runs-on: ubuntu-latest permissions: packages: write @@ -59,8 +59,7 @@ jobs: build-args: | ROS_DISTRO=${{ matrix.ROS_DISTRO }} MUJOCO_VERSIONS=${{ env.MUJOCO_VERSIONS }} - IMAGE_PREFIX=${{ matrix.ROS_DISTRO == 'one' && 'ubiagni/' || '' }} - IMAGE_SUFFIX=${{ matrix.ROS_DISTRO == 'one' && '-jammy' || '' }} + IMAGE_PREFIX=${{ matrix.ROS_DISTRO == 'jammy' && 'ubiagni/' || '' }} push: true no-cache: ${{ steps.apt.outputs.no_cache || github.event_name == 'workflow_dispatch' }} cache-from: type=registry,ref=${{ env.IMAGE }}