Skip to content

Commit

Permalink
gh: change used ros one docker tag to new format
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidPL1 committed Nov 14, 2023
1 parent 22f2c0e commit 455e135
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
3 changes: 1 addition & 2 deletions .docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -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
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/docker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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 }}
Expand Down

0 comments on commit 455e135

Please sign in to comment.