From 807a4ed14f2bb12157ca18ee0e4fb56bbd74989d Mon Sep 17 00:00:00 2001 From: Mikhail Yurasov Date: Sat, 7 Mar 2026 13:48:23 -0800 Subject: [PATCH 01/31] Remove redundant test result copying steps from CI workflow (implemented in run-test action) --- .github/workflows/build.yaml | 48 ------------------------------------ 1 file changed, 48 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index b1f9fd6e20db..349f24589a69 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -68,18 +68,6 @@ jobs: filter-pattern: "isaaclab_tasks" include-files: "test_multi_agent_environments.py,test_pickplace_stack_environments.py,test_environments.py,test_factory_environments.py,test_environments_training.py,test_cartpole_showcase_environments.py,test_teleop_environments.py" - - name: Copy Test Results from IsaacLab Tasks Container - if: always() - run: | - mkdir -pv reports/ - CONTAINER_NAME="isaac-lab-tasks-test-${{ github.run_id }}-${{ github.run_attempt }}" - if docker ps -a | grep -q $CONTAINER_NAME; then - echo "Copying test results from IsaacLab Tasks container..." - docker cp $CONTAINER_NAME:/workspace/isaaclab/tests/${{ github.job }}-report.xml reports/ 2>/dev/null || echo "No test results to copy from IsaacLab Tasks container" - else - echo "[ERROR] No container $CONTAINER_NAME found! Skipping copying of test results." - fi - - name: Upload IsaacLab Tasks Test Results uses: actions/upload-artifact@v4 if: always() @@ -137,18 +125,6 @@ jobs: filter-pattern: "isaaclab_tasks" include-files: "test_teleop_environments_with_stage_in_memory.py,test_lift_teddy_bear.py,test_environment_determinism.py,test_hydra.py,test_env_cfg_no_forbidden_imports.py,test_rl_device_separation.py,test_cartpole_showcase_environments_with_stage_in_memory.py,test_environments_with_stage_in_memory.py" - - name: Copy Test Results from IsaacLab Tasks 2 Container - if: always() - run: | - mkdir -pv reports/ - CONTAINER_NAME="isaac-lab-tasks-2-test-${{ github.run_id }}-${{ github.run_attempt }}" - if docker ps -a | grep -q $CONTAINER_NAME; then - echo "Copying test results from IsaacLab Tasks 2 container..." - docker cp $CONTAINER_NAME:/workspace/isaaclab/tests/${{ github.job }}-report.xml reports/ 2>/dev/null || echo "No test results to copy from IsaacLab Tasks 2 container" - else - echo "[ERROR] No container $CONTAINER_NAME found! Skipping copying of test results." - fi - - name: Upload IsaacLab Tasks 2 Test Results uses: actions/upload-artifact@v4 if: always() @@ -205,18 +181,6 @@ jobs: pytest-options: "" filter-pattern: "not isaaclab_tasks" - - name: Copy Test Results from General Tests Container - if: always() - run: | - mkdir -pv reports/ - CONTAINER_NAME="isaac-lab-general-test-${{ github.run_id }}-${{ github.run_attempt }}" - if docker ps -a | grep -q $CONTAINER_NAME; then - echo "Copying test results from General Tests container..." - docker cp $CONTAINER_NAME:/workspace/isaaclab/tests/${{ github.job }}-report.xml reports/ 2>/dev/null || echo "No test results to copy from General Tests container" - else - echo "[ERROR] No container $CONTAINER_NAME found! Skipping copying of test results." - fi - - name: Upload General Test Results uses: actions/upload-artifact@v4 if: always() @@ -275,18 +239,6 @@ jobs: filter-pattern: "" curobo-only: "true" - - name: Copy Test Results from cuRobo Container - if: always() - run: | - mkdir -pv reports/ - CONTAINER_NAME="isaac-lab-curobo-test-${{ github.run_id }}-${{ github.run_attempt }}" - if docker ps -a | grep -q $CONTAINER_NAME; then - echo "Copying test results from cuRobo container..." - docker cp $CONTAINER_NAME:/workspace/isaaclab/tests/${{ github.job }}-report.xml reports/ 2>/dev/null || echo "No test results to copy from cuRobo container" - else - echo "[ERROR] No container $CONTAINER_NAME found! Skipping copying of test results." - fi - - name: Upload cuRobo Test Results uses: actions/upload-artifact@v4 if: always() From 82350f63d61ff2563ac6f217e5978499b4d6c548 Mon Sep 17 00:00:00 2001 From: Mikhail Yurasov Date: Sat, 7 Mar 2026 14:10:27 -0800 Subject: [PATCH 02/31] Formatting --- docker/Dockerfile.base | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/docker/Dockerfile.base b/docker/Dockerfile.base index 85c57547312e..3000e0ff3bb6 100644 --- a/docker/Dockerfile.base +++ b/docker/Dockerfile.base @@ -40,10 +40,10 @@ USER root RUN apt-get update && \ apt-get install -y --no-install-recommends \ build-essential \ - cmake \ - git \ libglib2.0-0 \ ncurses-term \ + cmake \ + git \ wget # Install packages needed to build imgui-bundle on arm64 as no prebuilt pip wheel is provided @@ -54,8 +54,10 @@ RUN if [ "$(dpkg --print-architecture)" = "arm64" ]; then \ libx11-dev libxcursor-dev libxi-dev libxinerama-dev libxrandr-dev; \ fi -# Copy the Isaac Lab directory (files to exclude are defined in .dockerignore) -COPY ../ ${ISAACLAB_PATH} +# copy files neccessary for installing Isaac Lab and its dependencies +# tris way we minimize the chance of cache invalidation on file edits +COPY ../tools/ ${ISAACLAB_PATH}/tools/ +COPY ../source/ ${ISAACLAB_PATH}/source/ # Fix the line endings for the shell scripts (Windows git may add \r) RUN find ${ISAACLAB_PATH} -type f -name "*.sh" -exec sed -i 's/\r$//' {} + @@ -116,6 +118,12 @@ RUN echo "export ISAACLAB_PATH=${ISAACLAB_PATH}" >> ${HOME}/.bashrc && \ echo "shopt -s histappend" >> /root/.bashrc && \ echo "PROMPT_COMMAND='history -a'" >> /root/.bashrc +# copy the rest of the files that aren't needed for installation +COPY ../apps/ ${ISAACLAB_PATH}/apps/ +COPY ../docker/ ${ISAACLAB_PATH}/docker/ +COPY ../docs/ ${ISAACLAB_PATH}/docs/ +COPY ../scripts/ ${ISAACLAB_PATH}/scripts/ + # make working directory as the Isaac Lab directory # this is the default directory when the container is run WORKDIR ${ISAACLAB_PATH} From 24e95266c1b0c3a11c36f0eeb0c9d11b49a0d34a Mon Sep 17 00:00:00 2001 From: Mikhail Yurasov Date: Sat, 7 Mar 2026 14:10:58 -0800 Subject: [PATCH 03/31] Sync cuRobo abd Base dockerfiles --- docker/Dockerfile.curobo | 41 +++++++++++++++++++++++++++------------- 1 file changed, 28 insertions(+), 13 deletions(-) diff --git a/docker/Dockerfile.curobo b/docker/Dockerfile.curobo index 8882ff024081..9b24b619de8d 100644 --- a/docker/Dockerfile.curobo +++ b/docker/Dockerfile.curobo @@ -36,17 +36,23 @@ ENV DEBIAN_FRONTEND=noninteractive USER root -# Install dependencies and remove cache -RUN --mount=type=cache,target=/var/cache/apt \ - apt-get update && apt-get install -y --no-install-recommends \ +# Install dependencies +RUN apt-get update && \ + apt-get install -y --no-install-recommends \ build-essential \ - cmake \ - git \ libglib2.0-0 \ ncurses-term \ - wget && \ - apt -y autoremove && apt clean autoclean && \ - rm -rf /var/lib/apt/lists/* + cmake \ + git \ + wget + +# Install packages needed to build imgui-bundle on arm64 as no prebuilt pip wheel is provided +RUN if [ "$(dpkg --print-architecture)" = "arm64" ]; then \ + apt-get update && \ + apt-get install -y --no-install-recommends \ + libgl1-mesa-dev libopengl-dev libglx-dev \ + libx11-dev libxcursor-dev libxi-dev libxinerama-dev libxrandr-dev; \ + fi # Detect Ubuntu version and install CUDA 12.8 via NVIDIA network repo (cuda-keyring) RUN set -euo pipefail && \ @@ -83,8 +89,10 @@ ENV PATH=${CUDA_HOME}/bin:${PATH} ENV LD_LIBRARY_PATH=${CUDA_HOME}/lib64:${LD_LIBRARY_PATH} ENV TORCH_CUDA_ARCH_LIST=8.0+PTX -# Copy the Isaac Lab directory (files to exclude are defined in .dockerignore) -COPY ../ ${ISAACLAB_PATH} +# copy files neccessary for installing Isaac Lab and its dependencies +# tris way we minimize the chance of cache invalidation on file edits +COPY ../tools/ ${ISAACLAB_PATH}/tools/ +COPY ../source/ ${ISAACLAB_PATH}/source/ # Fix the line endings for the shell scripts (Windows git may add \r) RUN find ${ISAACLAB_PATH} -type f -name "*.sh" -exec sed -i 's/\r$//' {} + @@ -99,9 +107,10 @@ RUN ln -sf ${ISAACSIM_ROOT_PATH} ${ISAACLAB_PATH}/_isaac_sim RUN ${ISAACLAB_PATH}/isaaclab.sh -p -m pip install toml # Install apt dependencies for extensions that declare them in their extension.toml -RUN --mount=type=cache,target=/var/cache/apt \ - ${ISAACLAB_PATH}/isaaclab.sh -p ${ISAACLAB_PATH}/tools/install_deps.py apt ${ISAACLAB_PATH}/source && \ - apt -y autoremove && apt clean autoclean && \ +RUN ${ISAACLAB_PATH}/isaaclab.sh -p ${ISAACLAB_PATH}/tools/install_deps.py apt ${ISAACLAB_PATH}/source + +# Apt Cleanup +RUN apt-get -y autoremove && apt-get clean && \ rm -rf /var/lib/apt/lists/* # for singularity usage, have to create the directories that will binded @@ -164,6 +173,12 @@ RUN echo "export ISAACLAB_PATH=${ISAACLAB_PATH}" >> ${HOME}/.bashrc && \ echo "shopt -s histappend" >> /root/.bashrc && \ echo "PROMPT_COMMAND='history -a'" >> /root/.bashrc +# copy the rest of the files that aren't needed for installation +COPY ../apps/ ${ISAACLAB_PATH}/apps/ +COPY ../docker/ ${ISAACLAB_PATH}/docker/ +COPY ../docs/ ${ISAACLAB_PATH}/docs/ +COPY ../scripts/ ${ISAACLAB_PATH}/scripts/ + # make working directory as the Isaac Lab directory # this is the default directory when the container is run WORKDIR ${ISAACLAB_PATH} From 628c78ebc310f60d1c9c54320f3aba4fc64e8834 Mon Sep 17 00:00:00 2001 From: Mikhail Yurasov Date: Sat, 7 Mar 2026 14:22:40 -0800 Subject: [PATCH 04/31] Typos --- docker/Dockerfile.base | 2 +- docker/Dockerfile.curobo | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docker/Dockerfile.base b/docker/Dockerfile.base index 3000e0ff3bb6..df6dd24150aa 100644 --- a/docker/Dockerfile.base +++ b/docker/Dockerfile.base @@ -54,7 +54,7 @@ RUN if [ "$(dpkg --print-architecture)" = "arm64" ]; then \ libx11-dev libxcursor-dev libxi-dev libxinerama-dev libxrandr-dev; \ fi -# copy files neccessary for installing Isaac Lab and its dependencies +# copy files necessary for installing Isaac Lab and its dependencies # tris way we minimize the chance of cache invalidation on file edits COPY ../tools/ ${ISAACLAB_PATH}/tools/ COPY ../source/ ${ISAACLAB_PATH}/source/ diff --git a/docker/Dockerfile.curobo b/docker/Dockerfile.curobo index 9b24b619de8d..b5509981d608 100644 --- a/docker/Dockerfile.curobo +++ b/docker/Dockerfile.curobo @@ -89,7 +89,7 @@ ENV PATH=${CUDA_HOME}/bin:${PATH} ENV LD_LIBRARY_PATH=${CUDA_HOME}/lib64:${LD_LIBRARY_PATH} ENV TORCH_CUDA_ARCH_LIST=8.0+PTX -# copy files neccessary for installing Isaac Lab and its dependencies +# copy files necessary for installing Isaac Lab and its dependencies # tris way we minimize the chance of cache invalidation on file edits COPY ../tools/ ${ISAACLAB_PATH}/tools/ COPY ../source/ ${ISAACLAB_PATH}/source/ From 5e96dee09fe32c2c070b183cbc15b0cbd365f2fb Mon Sep 17 00:00:00 2001 From: Mikhail Yurasov Date: Sat, 7 Mar 2026 14:35:50 -0800 Subject: [PATCH 05/31] FIx file copying --- docker/Dockerfile.base | 3 +++ docker/Dockerfile.curobo | 3 +++ 2 files changed, 6 insertions(+) diff --git a/docker/Dockerfile.base b/docker/Dockerfile.base index df6dd24150aa..010a066cc516 100644 --- a/docker/Dockerfile.base +++ b/docker/Dockerfile.base @@ -56,6 +56,7 @@ RUN if [ "$(dpkg --print-architecture)" = "arm64" ]; then \ # copy files necessary for installing Isaac Lab and its dependencies # tris way we minimize the chance of cache invalidation on file edits +COPY ../isaaclab.* ../environment.yml ../pyproject.toml ${ISAACLAB_PATH}/ COPY ../tools/ ${ISAACLAB_PATH}/tools/ COPY ../source/ ${ISAACLAB_PATH}/source/ @@ -123,6 +124,8 @@ COPY ../apps/ ${ISAACLAB_PATH}/apps/ COPY ../docker/ ${ISAACLAB_PATH}/docker/ COPY ../docs/ ${ISAACLAB_PATH}/docs/ COPY ../scripts/ ${ISAACLAB_PATH}/scripts/ +# copy rest of the root-level files +COPY ../*.md ../VERSION ../CITATION.cff ../LICENSE* ${ISAACLAB_PATH}/ # make working directory as the Isaac Lab directory # this is the default directory when the container is run diff --git a/docker/Dockerfile.curobo b/docker/Dockerfile.curobo index b5509981d608..cea53e616536 100644 --- a/docker/Dockerfile.curobo +++ b/docker/Dockerfile.curobo @@ -91,6 +91,7 @@ ENV TORCH_CUDA_ARCH_LIST=8.0+PTX # copy files necessary for installing Isaac Lab and its dependencies # tris way we minimize the chance of cache invalidation on file edits +COPY ../isaaclab.* ../environment.yml ../pyproject.toml ${ISAACLAB_PATH}/ COPY ../tools/ ${ISAACLAB_PATH}/tools/ COPY ../source/ ${ISAACLAB_PATH}/source/ @@ -178,6 +179,8 @@ COPY ../apps/ ${ISAACLAB_PATH}/apps/ COPY ../docker/ ${ISAACLAB_PATH}/docker/ COPY ../docs/ ${ISAACLAB_PATH}/docs/ COPY ../scripts/ ${ISAACLAB_PATH}/scripts/ +# copy rest of the root-level files +COPY ../*.md ../VERSION ../CITATION.cff ../LICENSE* ${ISAACLAB_PATH}/ # make working directory as the Isaac Lab directory # this is the default directory when the container is run From 6801fb7da76bf968df2f72718c2ced87ca1014e4 Mon Sep 17 00:00:00 2001 From: Mikhail Yurasov Date: Sat, 7 Mar 2026 15:10:05 -0800 Subject: [PATCH 06/31] Remove hardcoded image tag --- .github/actions/docker-build/action.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/actions/docker-build/action.yml b/.github/actions/docker-build/action.yml index f13e3d8c75c4..7f88241cfb8c 100644 --- a/.github/actions/docker-build/action.yml +++ b/.github/actions/docker-build/action.yml @@ -64,7 +64,6 @@ runs: # Build Docker image docker buildx build --progress=plain --platform linux/amd64 \ - -t isaac-lab-dev \ -t $image_tag \ --build-arg ISAACSIM_BASE_IMAGE_ARG="$isaacsim_base_image" \ --build-arg ISAACSIM_VERSION_ARG="$isaacsim_version" \ @@ -77,7 +76,8 @@ runs: --load $context_path echo "✅ Docker image built successfully: $image_tag" - docker images | grep isaac-lab-dev + echo "Current local Docker images:" + docker images } # Call the function with provided parameters From 7ffefdcbed33b776848e2d3271fe1ab9c6735d1d Mon Sep 17 00:00:00 2001 From: Mikhail Yurasov Date: Sat, 7 Mar 2026 22:07:44 -0800 Subject: [PATCH 07/31] Temporarily disable tasks, add toy task to debug ECR --- .github/workflows/Dockerfile.hello | 5 +++ .github/workflows/debug-ecr.yml | 41 +++++++++++++++++++ .../build.yaml | 0 .../check-links.yml | 0 .../daily-compatibility.yml | 0 .../docs.yaml | 0 .../labeler.yml | 0 .../license-check.yaml | 0 .../postmerge-ci.yml | 0 .../pre-commit.yaml | 0 10 files changed, 46 insertions(+) create mode 100644 .github/workflows/Dockerfile.hello create mode 100644 .github/workflows/debug-ecr.yml rename .github/{workflows => workflows_disabled}/build.yaml (100%) rename .github/{workflows => workflows_disabled}/check-links.yml (100%) rename .github/{workflows => workflows_disabled}/daily-compatibility.yml (100%) rename .github/{workflows => workflows_disabled}/docs.yaml (100%) rename .github/{workflows => workflows_disabled}/labeler.yml (100%) rename .github/{workflows => workflows_disabled}/license-check.yaml (100%) rename .github/{workflows => workflows_disabled}/postmerge-ci.yml (100%) rename .github/{workflows => workflows_disabled}/pre-commit.yaml (100%) diff --git a/.github/workflows/Dockerfile.hello b/.github/workflows/Dockerfile.hello new file mode 100644 index 000000000000..a96f44055712 --- /dev/null +++ b/.github/workflows/Dockerfile.hello @@ -0,0 +1,5 @@ +FROM ubuntu:24.04 + +RUN echo "Hello from the build stage!" + +CMD ["bash", "-c", "echo 'Hello from the running container!'"] diff --git a/.github/workflows/debug-ecr.yml b/.github/workflows/debug-ecr.yml new file mode 100644 index 000000000000..a63fe712d7ad --- /dev/null +++ b/.github/workflows/debug-ecr.yml @@ -0,0 +1,41 @@ +name: Debug ECR Docker Build + +on: + push: + branches: + - '**' + workflow_dispatch: + +env: + AWS_REGION: us-east-1 + ECR_REPOSITORY: isaaclab-debug + +jobs: + build-and-push: + name: Build and push to ECR + runs-on: [self-hosted, int-gpu] + + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: Configure AWS credentials + uses: aws-actions/configure-aws-credentials@v4 + with: + aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} + aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} + aws-region: ${{ env.AWS_REGION }} + + - name: Login to Amazon ECR + id: login-ecr + uses: aws-actions/amazon-ecr-login@v2 + + - name: Build and push + env: + REGISTRY: ${{ steps.login-ecr.outputs.registry }} + TAG: ${{ github.sha }} + run: | + IMAGE="${REGISTRY}/${{ env.ECR_REPOSITORY }}:${TAG:0:7}" + docker build -f .github/workflows/Dockerfile.hello -t "$IMAGE" . + docker push "$IMAGE" + echo "Pushed: $IMAGE" >> "$GITHUB_STEP_SUMMARY" diff --git a/.github/workflows/build.yaml b/.github/workflows_disabled/build.yaml similarity index 100% rename from .github/workflows/build.yaml rename to .github/workflows_disabled/build.yaml diff --git a/.github/workflows/check-links.yml b/.github/workflows_disabled/check-links.yml similarity index 100% rename from .github/workflows/check-links.yml rename to .github/workflows_disabled/check-links.yml diff --git a/.github/workflows/daily-compatibility.yml b/.github/workflows_disabled/daily-compatibility.yml similarity index 100% rename from .github/workflows/daily-compatibility.yml rename to .github/workflows_disabled/daily-compatibility.yml diff --git a/.github/workflows/docs.yaml b/.github/workflows_disabled/docs.yaml similarity index 100% rename from .github/workflows/docs.yaml rename to .github/workflows_disabled/docs.yaml diff --git a/.github/workflows/labeler.yml b/.github/workflows_disabled/labeler.yml similarity index 100% rename from .github/workflows/labeler.yml rename to .github/workflows_disabled/labeler.yml diff --git a/.github/workflows/license-check.yaml b/.github/workflows_disabled/license-check.yaml similarity index 100% rename from .github/workflows/license-check.yaml rename to .github/workflows_disabled/license-check.yaml diff --git a/.github/workflows/postmerge-ci.yml b/.github/workflows_disabled/postmerge-ci.yml similarity index 100% rename from .github/workflows/postmerge-ci.yml rename to .github/workflows_disabled/postmerge-ci.yml diff --git a/.github/workflows/pre-commit.yaml b/.github/workflows_disabled/pre-commit.yaml similarity index 100% rename from .github/workflows/pre-commit.yaml rename to .github/workflows_disabled/pre-commit.yaml From 2ddadc5890a358e34f7bb9c5de2255fe33fe1929 Mon Sep 17 00:00:00 2001 From: Mikhail Yurasov Date: Sat, 7 Mar 2026 22:13:32 -0800 Subject: [PATCH 08/31] ECR Build-Push-Pull action (drop-in repl for docker-build) Update ECR creds RUn on pull requests Update runner type for ECR build job to use GPU Use aws cli to log in Get AWS_ACCOUNT_ID Remove ECR login step from debug workflow Login to ECR with docker config fix Check if nvcr login is broken ECR stuf Toy task inside container Add missing package installation step in Dockerfile Add progress output to Docker build step in debug workflow If image exists in ecr and if it does, pull it from there instead of building Add cache layering Start toy dockerfile from nvcr.io/nvidian/isaac-sim:latest-develop Test Skip build if image exists, improve logging messages Replace entrypoint for toy task ECR functionality RUn nvidia-smi Extract ECR functionality to action Comments --- .../actions/ecr-build-push-pull/action.yml | 123 ++++++++++++++++++ .github/workflows/Dockerfile.hello | 2 +- .github/workflows/debug-ecr.yml | 40 +++--- 3 files changed, 143 insertions(+), 22 deletions(-) create mode 100644 .github/actions/ecr-build-push-pull/action.yml diff --git a/.github/actions/ecr-build-push-pull/action.yml b/.github/actions/ecr-build-push-pull/action.yml new file mode 100644 index 000000000000..0f5aca04b040 --- /dev/null +++ b/.github/actions/ecr-build-push-pull/action.yml @@ -0,0 +1,123 @@ +# Copyright (c) 2022-2026, The Isaac Lab Project Developers (https://github.com/isaac-sim/IsaacLab/blob/main/CONTRIBUTORS.md). +# All rights reserved. +# +# SPDX-License-Identifier: BSD-3-Clause + +name: 'ECR Build-Push-Pull' +description: > + Builds a Docker image and pushes it to ECR, using ECR as the layer cache. + If the image already exists in ECR (same tag), pulls it instead of building. + Drop-in replacement for docker-build/action.yml with ECR-backed caching. + +inputs: + image-tag: + description: 'Tag for the Docker image (e.g. my-image:latest).' + required: true + isaacsim-base-image: + description: 'IsaacSim base image (passed as ISAACSIM_BASE_IMAGE_ARG build-arg).' + required: true + isaacsim-version: + description: 'IsaacSim version (passed as ISAACSIM_VERSION_ARG build-arg).' + required: true + dockerfile-path: + description: 'Path to Dockerfile, relative to the repository root' + default: 'docker/Dockerfile.base' + required: false + ecr-repository: + description: 'ECR repository name. If omitted, ECR push/pull/cache is skipped and the image is always built.' + required: false + default: '' + aws-region: + description: > + AWS region (e.g. us-west-2, etc). + For best performance, should match the runner EC2 region. + required: false + default: 'us-west-2' + +runs: + using: composite + steps: + - name: ECR Build, Push, Pull + shell: bash + run: | + IMAGE_TAG="${{ inputs.image-tag }}" + ECR_REPOSITORY="${{ inputs.ecr-repository }}" + AWS_REGION="${{ inputs.aws-region }}" + + # Warn if aws-region was not explicitly provided + if [ -z "${{ inputs.aws-region }}" ]; then + echo "🟠 aws-region not set, using default: ${{ inputs.aws-region }}. For best performance, set aws-region to match your runner's EC2 region." + fi + + if [ -z "${ECR_REPOSITORY}" ]; then + echo "🟠 ecr-repository not set, skipping ECR login/push/pull. Building locally only." + else + # Get AWS account ID from the runner's IAM instance profile + AWS_ACCOUNT_ID=$(aws sts get-caller-identity --query Account --output text) + REGISTRY="${AWS_ACCOUNT_ID}.dkr.ecr.${AWS_REGION}.amazonaws.com" + + # Derive ECR image tag by slugifying the local image-tag + # (colons/slashes not valid in ECR tags) + ECR_TAG=$(echo "${IMAGE_TAG}" | tr ':/' '--') + ECR_IMAGE="${REGISTRY}/${ECR_REPOSITORY}:${ECR_TAG}" + CACHE_IMAGE="${REGISTRY}/${ECR_REPOSITORY}:cache" + + # The runner's credential store is broken ("not implemented"), so use a temp config dir + # with credsStore disabled. Copy existing ~/.docker/config.json first to preserve other + # registry auths (e.g. nvcr.io), then strip credsStore/credHelpers. + # + DOCKER_CONFIG_DIR=$(mktemp -d) + if [ -f "${HOME}/.docker/config.json" ]; then + python3 -c "import json; cfg=json.load(open('${HOME}/.docker/config.json')); cfg['credsStore']=''; cfg.pop('credHelpers',None); json.dump(cfg,open('${DOCKER_CONFIG_DIR}/config.json','w'))" + else + echo '{"credsStore":""}' > "${DOCKER_CONFIG_DIR}/config.json" + fi + # + # Export so all subsequent docker calls in this job inherit it + echo "DOCKER_CONFIG=${DOCKER_CONFIG_DIR}" >> "$GITHUB_ENV" + export DOCKER_CONFIG="${DOCKER_CONFIG_DIR}" + + # Login to ECR registry with token provided by aws cli + aws ecr get-login-password --region "${AWS_REGION}" | \ + docker login --username AWS --password-stdin "${REGISTRY}" + + # Try pulling the exact image from ECR to skip the build + if docker pull "${ECR_IMAGE}" 2>/dev/null; then + echo "🟢 Image found in ECR, pulled: ${ECR_IMAGE}" + docker tag "${ECR_IMAGE}" "${IMAGE_TAG}" + echo "🟢 Tagged as: ${IMAGE_TAG} — skipping build." + exit 0 + fi + fi + + # Build the image + + BUILD_ARGS=( + --progress=plain + -f "${{ inputs.dockerfile-path }}" + --build-arg "ISAACSIM_BASE_IMAGE_ARG=${{ inputs.isaacsim-base-image }}" + --build-arg "ISAACSIM_VERSION_ARG=${{ inputs.isaacsim-version }}" + --build-arg "ISAACSIM_ROOT_PATH_ARG=/isaac-sim" + --build-arg "ISAACLAB_PATH_ARG=/workspace/isaaclab" + --build-arg "DOCKER_USER_HOME_ARG=/root" + -t "${IMAGE_TAG}" + ) + + # Add ECR layer caching + if [ -n "${ECR_REPOSITORY}" ]; then + BUILD_ARGS+=( + --cache-from "type=registry,ref=${CACHE_IMAGE}" + --cache-to "type=registry,ref=${CACHE_IMAGE},mode=max" + -t "${ECR_IMAGE}" + ) + fi + + echo "🟢 Building ${IMAGE_TAG}..." + DOCKER_BUILDKIT=1 docker build "${BUILD_ARGS[@]}" . + + if [ -n "${ECR_REPOSITORY}" ]; then + docker push "${ECR_IMAGE}" + echo "🟢 Pushed ${ECR_IMAGE} to ECR" + fi + + echo "🟢 Image ${IMAGE_TAG} is ready!" diff --git a/.github/workflows/Dockerfile.hello b/.github/workflows/Dockerfile.hello index a96f44055712..135cf660b8d2 100644 --- a/.github/workflows/Dockerfile.hello +++ b/.github/workflows/Dockerfile.hello @@ -1,4 +1,4 @@ -FROM ubuntu:24.04 +FROM nvcr.io/nvidian/isaac-sim:latest-develop RUN echo "Hello from the build stage!" diff --git a/.github/workflows/debug-ecr.yml b/.github/workflows/debug-ecr.yml index a63fe712d7ad..056afe0eb6bc 100644 --- a/.github/workflows/debug-ecr.yml +++ b/.github/workflows/debug-ecr.yml @@ -1,41 +1,39 @@ -name: Debug ECR Docker Build +name: Debug ECR on: push: branches: - '**' + pull_request: workflow_dispatch: env: - AWS_REGION: us-east-1 - ECR_REPOSITORY: isaaclab-debug + ECR_REGION: us-west-2 + ECR_REPOSITORY: isaaclab-ci + IMAGE_TAG: isaaclab-ci:${{ github.sha }} jobs: build-and-push: name: Build and push to ECR - runs-on: [self-hosted, int-gpu] + runs-on: [self-hosted, gpu] steps: - name: Checkout uses: actions/checkout@v4 - - name: Configure AWS credentials - uses: aws-actions/configure-aws-credentials@v4 + - name: Build and push + uses: ./.github/actions/ecr-build-push-pull with: - aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} - aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} - aws-region: ${{ env.AWS_REGION }} - - - name: Login to Amazon ECR - id: login-ecr - uses: aws-actions/amazon-ecr-login@v2 + image-tag: ${{ env.IMAGE_TAG }} + isaacsim-base-image: nvcr.io/nvidian/isaac-sim + isaacsim-version: latest-develop + dockerfile-path: .github/workflows/Dockerfile.hello + ecr-repository: ${{ env.ECR_REPOSITORY }} + aws-region: ${{ env.ECR_REGION }} - - name: Build and push - env: - REGISTRY: ${{ steps.login-ecr.outputs.registry }} - TAG: ${{ github.sha }} + - name: Run toy task in container run: | - IMAGE="${REGISTRY}/${{ env.ECR_REPOSITORY }}:${TAG:0:7}" - docker build -f .github/workflows/Dockerfile.hello -t "$IMAGE" . - docker push "$IMAGE" - echo "Pushed: $IMAGE" >> "$GITHUB_STEP_SUMMARY" + # ACCEPT_EULA=Y required by the isaac-sim base image at startup + # --entrypoint sh overrides the isaac-sim entrypoint so the container exits after our command + docker run --rm -e ACCEPT_EULA=Y --entrypoint sh "${{ env.IMAGE_TAG }}" \ + -c 'echo "Hello from inside the container!" && uname -a && nvidia-smi' From 356133ef4a6036815ed4d88d0e86513aa6b3f3eb Mon Sep 17 00:00:00 2001 From: Mikhail Yurasov Date: Sun, 8 Mar 2026 01:16:33 -0800 Subject: [PATCH 09/31] Un-disable disabled workflows, disable toy one --- .github/{workflows_disabled => workflows}/build.yaml | 0 .github/{workflows_disabled => workflows}/check-links.yml | 0 .github/{workflows_disabled => workflows}/daily-compatibility.yml | 0 .github/{workflows_disabled => workflows}/docs.yaml | 0 .github/{workflows_disabled => workflows}/labeler.yml | 0 .github/{workflows_disabled => workflows}/license-check.yaml | 0 .github/{workflows_disabled => workflows}/postmerge-ci.yml | 0 .github/{workflows_disabled => workflows}/pre-commit.yaml | 0 .github/{workflows => workflows_disabled}/debug-ecr.yml | 0 9 files changed, 0 insertions(+), 0 deletions(-) rename .github/{workflows_disabled => workflows}/build.yaml (100%) rename .github/{workflows_disabled => workflows}/check-links.yml (100%) rename .github/{workflows_disabled => workflows}/daily-compatibility.yml (100%) rename .github/{workflows_disabled => workflows}/docs.yaml (100%) rename .github/{workflows_disabled => workflows}/labeler.yml (100%) rename .github/{workflows_disabled => workflows}/license-check.yaml (100%) rename .github/{workflows_disabled => workflows}/postmerge-ci.yml (100%) rename .github/{workflows_disabled => workflows}/pre-commit.yaml (100%) rename .github/{workflows => workflows_disabled}/debug-ecr.yml (100%) diff --git a/.github/workflows_disabled/build.yaml b/.github/workflows/build.yaml similarity index 100% rename from .github/workflows_disabled/build.yaml rename to .github/workflows/build.yaml diff --git a/.github/workflows_disabled/check-links.yml b/.github/workflows/check-links.yml similarity index 100% rename from .github/workflows_disabled/check-links.yml rename to .github/workflows/check-links.yml diff --git a/.github/workflows_disabled/daily-compatibility.yml b/.github/workflows/daily-compatibility.yml similarity index 100% rename from .github/workflows_disabled/daily-compatibility.yml rename to .github/workflows/daily-compatibility.yml diff --git a/.github/workflows_disabled/docs.yaml b/.github/workflows/docs.yaml similarity index 100% rename from .github/workflows_disabled/docs.yaml rename to .github/workflows/docs.yaml diff --git a/.github/workflows_disabled/labeler.yml b/.github/workflows/labeler.yml similarity index 100% rename from .github/workflows_disabled/labeler.yml rename to .github/workflows/labeler.yml diff --git a/.github/workflows_disabled/license-check.yaml b/.github/workflows/license-check.yaml similarity index 100% rename from .github/workflows_disabled/license-check.yaml rename to .github/workflows/license-check.yaml diff --git a/.github/workflows_disabled/postmerge-ci.yml b/.github/workflows/postmerge-ci.yml similarity index 100% rename from .github/workflows_disabled/postmerge-ci.yml rename to .github/workflows/postmerge-ci.yml diff --git a/.github/workflows_disabled/pre-commit.yaml b/.github/workflows/pre-commit.yaml similarity index 100% rename from .github/workflows_disabled/pre-commit.yaml rename to .github/workflows/pre-commit.yaml diff --git a/.github/workflows/debug-ecr.yml b/.github/workflows_disabled/debug-ecr.yml similarity index 100% rename from .github/workflows/debug-ecr.yml rename to .github/workflows_disabled/debug-ecr.yml From 579243d7b3299caa251c88a62f117b51672257cf Mon Sep 17 00:00:00 2001 From: Mikhail Yurasov Date: Sun, 8 Mar 2026 01:25:36 -0800 Subject: [PATCH 10/31] Replace build jobs with ECR-backed ones; optimize task graph for maximum cache use. --- .github/workflows/build.yaml | 87 +++++++++++++++++++++++++++++++----- 1 file changed, 77 insertions(+), 10 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 349f24589a69..811e3e0b59f7 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -36,12 +36,65 @@ env: ISAACSIM_BASE_IMAGE: nvcr.io/nvidian/isaac-sim #${{ vars.ISAACSIM_BASE_IMAGE || 'nvcr.io/nvidia/isaac-sim' }} ISAACSIM_BASE_VERSION: 'latest-develop' #${{ vars.ISAACSIM_BASE_VERSION || '5.1.0' }} DOCKER_IMAGE_TAG: isaac-lab-dev:${{ github.event_name == 'pull_request' && format('pr-{0}', github.event.pull_request.number) || github.ref_name }}-${{ github.sha }} + ECR_REPOSITORY: isaaclab-ci + ECR_REGION: us-west-2 jobs: + build: + name: Build base Docker image + runs-on: [self-hosted, gpu] + steps: + - name: Checkout Code + uses: actions/checkout@v4 + with: + fetch-depth: 1 + lfs: true + + - name: Build and push to ECR + uses: ./.github/actions/ecr-build-push-pull + with: + image-tag: ${{ env.DOCKER_IMAGE_TAG }} + isaacsim-base-image: ${{ env.ISAACSIM_BASE_IMAGE }} + isaacsim-version: ${{ env.ISAACSIM_BASE_VERSION }} + dockerfile-path: docker/Dockerfile.base + ecr-repository: ${{ env.ECR_REPOSITORY }} + aws-region: ${{ env.ECR_REGION }} + + - name: Clean up stale Docker images + if: always() + run: docker image prune -f --filter "until=24h" || true + + build-curobo: + name: Build cuRobo Docker image + runs-on: [self-hosted, gpu] + needs: build + steps: + - name: Checkout Code + uses: actions/checkout@v4 + with: + fetch-depth: 1 + lfs: true + + - name: Build and push to ECR + uses: ./.github/actions/ecr-build-push-pull + with: + image-tag: ${{ env.DOCKER_IMAGE_TAG }}-curobo + isaacsim-base-image: ${{ env.ISAACSIM_BASE_IMAGE }} + isaacsim-version: ${{ env.ISAACSIM_BASE_VERSION }} + dockerfile-path: docker/Dockerfile.curobo + ecr-repository: ${{ env.ECR_REPOSITORY }} + aws-region: ${{ env.ECR_REGION }} + + - name: Clean up stale Docker images + if: always() + run: docker image prune -f --filter "until=24h" || true + + test-isaaclab-tasks: runs-on: [self-hosted, gpu] timeout-minutes: 180 continue-on-error: true + needs: build steps: - name: Checkout Code @@ -50,12 +103,15 @@ jobs: fetch-depth: 1 lfs: true - - name: Build Docker Image - uses: ./.github/actions/docker-build + - name: Pull image from ECR + uses: ./.github/actions/ecr-build-push-pull with: image-tag: ${{ env.DOCKER_IMAGE_TAG }} isaacsim-base-image: ${{ env.ISAACSIM_BASE_IMAGE }} isaacsim-version: ${{ env.ISAACSIM_BASE_VERSION }} + dockerfile-path: docker/Dockerfile.base + ecr-repository: ${{ env.ECR_REPOSITORY }} + aws-region: ${{ env.ECR_REGION }} - name: Run IsaacLab Tasks Tests uses: ./.github/actions/run-tests @@ -99,6 +155,7 @@ jobs: runs-on: [self-hosted, gpu] timeout-minutes: 180 continue-on-error: true + needs: build steps: - name: Checkout Code @@ -107,12 +164,15 @@ jobs: fetch-depth: 1 lfs: true - - name: Build Docker Image - uses: ./.github/actions/docker-build + - name: Pull image from ECR + uses: ./.github/actions/ecr-build-push-pull with: image-tag: ${{ env.DOCKER_IMAGE_TAG }} isaacsim-base-image: ${{ env.ISAACSIM_BASE_IMAGE }} isaacsim-version: ${{ env.ISAACSIM_BASE_VERSION }} + dockerfile-path: docker/Dockerfile.base + ecr-repository: ${{ env.ECR_REPOSITORY }} + aws-region: ${{ env.ECR_REGION }} - name: Run IsaacLab Tasks Tests 2 uses: ./.github/actions/run-tests @@ -155,6 +215,7 @@ jobs: test-general: runs-on: [self-hosted, gpu] timeout-minutes: 180 + needs: build steps: - name: Checkout Code @@ -163,12 +224,15 @@ jobs: fetch-depth: 1 lfs: true - - name: Build Docker Image - uses: ./.github/actions/docker-build + - name: Pull image from ECR + uses: ./.github/actions/ecr-build-push-pull with: image-tag: ${{ env.DOCKER_IMAGE_TAG }} isaacsim-base-image: ${{ env.ISAACSIM_BASE_IMAGE }} isaacsim-version: ${{ env.ISAACSIM_BASE_VERSION }} + dockerfile-path: docker/Dockerfile.base + ecr-repository: ${{ env.ECR_REPOSITORY }} + aws-region: ${{ env.ECR_REGION }} - name: Run General Tests id: run-general-tests @@ -212,6 +276,7 @@ jobs: runs-on: [self-hosted, gpu] timeout-minutes: 120 continue-on-error: true + needs: build-curobo steps: - name: Checkout Code @@ -220,13 +285,15 @@ jobs: fetch-depth: 1 lfs: true - - name: Build Docker Image (cuRobo) - uses: ./.github/actions/docker-build + - name: Pull cuRobo image from ECR + uses: ./.github/actions/ecr-build-push-pull with: image-tag: ${{ env.DOCKER_IMAGE_TAG }}-curobo isaacsim-base-image: ${{ env.ISAACSIM_BASE_IMAGE }} isaacsim-version: ${{ env.ISAACSIM_BASE_VERSION }} - dockerfile-path: 'docker/Dockerfile.curobo' + dockerfile-path: docker/Dockerfile.curobo + ecr-repository: ${{ env.ECR_REPOSITORY }} + aws-region: ${{ env.ECR_REGION }} - name: Run cuRobo and SkillGen Tests uses: ./.github/actions/run-tests @@ -267,7 +334,7 @@ jobs: run: docker image prune -f --filter "until=24h" || true combine-results: - needs: [test-isaaclab-tasks, test-isaaclab-tasks-2, test-general, test-curobo] + needs: [build, build-curobo, test-isaaclab-tasks, test-isaaclab-tasks-2, test-general, test-curobo] runs-on: ubuntu-latest if: always() From 31e8912776e0f98bea2a7728c36b75e5e1058fe7 Mon Sep 17 00:00:00 2001 From: Mikhail Yurasov Date: Sun, 8 Mar 2026 01:44:25 -0800 Subject: [PATCH 11/31] Some docs for the action --- .github/actions/ecr-build-push-pull/README.md | 42 +++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 .github/actions/ecr-build-push-pull/README.md diff --git a/.github/actions/ecr-build-push-pull/README.md b/.github/actions/ecr-build-push-pull/README.md new file mode 100644 index 000000000000..a4e4171390eb --- /dev/null +++ b/.github/actions/ecr-build-push-pull/README.md @@ -0,0 +1,42 @@ +# ecr-build-push-pull + +Action that ether builds Docker image and pushes it to ECR or pulls it from there. + +ECR is also used as the BuildKit layer cache, so even first builds benefit from cached layers. + +Drop-in replacement for `docker-build/action.yml` with ECR-backed caching. + +## Prerequisites + +The runner must be authenticated to AWS; the action calls +`aws sts get-caller-identity` and `aws ecr get-login-password` using whatever credentials +are available in the environment. + +The IAM role must have at minimum: +- `ecr:GetAuthorizationToken` (on `*`) +- `ecr:BatchCheckLayerAvailability`, `ecr:GetDownloadUrlForLayer`, `ecr:BatchGetImage` (pull) +- `ecr:InitiateLayerUpload`, `ecr:UploadLayerPart`, `ecr:CompleteLayerUpload`, `ecr:PutImage` (push) + +## Inputs + +| Input | Required | Default | Description | +|-------|----------|---------|-------------| +| `image-tag` | yes | — | Local Docker tag (e.g. `isaac-lab-dev:pr-1-abc`) | +| `isaacsim-base-image` | yes | — | IsaacSim base image (`ISAACSIM_BASE_IMAGE_ARG` build-arg) | +| `isaacsim-version` | yes | — | IsaacSim version (`ISAACSIM_VERSION_ARG` build-arg) | +| `dockerfile-path` | no | `docker/Dockerfile.base` | Path to Dockerfile | +| `ecr-repository` | no | `""` | ECR repo name. If omitted, ECR push/pull/cache is skipped. | +| `aws-region` | no | `us-west-2` | ECR region. Should match the runner's EC2 region for best performance. | + +## Usage + +```yaml +- uses: ./.github/actions/ecr-build-push-pull + with: + image-tag: ${{ env.DOCKER_IMAGE_TAG }} + isaacsim-base-image: nvcr.io/nvidian/isaac-sim + isaacsim-version: latest-develop + dockerfile-path: docker/Dockerfile.base + ecr-repository: isaaclab-ci + aws-region: us-west-2 +``` From 035b08c5197d2ddfa1e5062715a782d8f078216d Mon Sep 17 00:00:00 2001 From: Mikhail Yurasov Date: Sun, 8 Mar 2026 01:45:31 -0800 Subject: [PATCH 12/31] Make curobo build independet of base build --- .github/workflows/build.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 811e3e0b59f7..c0ccedd1b1d3 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -67,7 +67,6 @@ jobs: build-curobo: name: Build cuRobo Docker image runs-on: [self-hosted, gpu] - needs: build steps: - name: Checkout Code uses: actions/checkout@v4 From d6ca91330402a58bc081ab14818805784fc78641 Mon Sep 17 00:00:00 2001 From: Mikhail Yurasov Date: Sun, 8 Mar 2026 03:18:46 -0700 Subject: [PATCH 13/31] More info mesages --- .github/actions/ecr-build-push-pull/action.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/actions/ecr-build-push-pull/action.yml b/.github/actions/ecr-build-push-pull/action.yml index 0f5aca04b040..199d0b982f97 100644 --- a/.github/actions/ecr-build-push-pull/action.yml +++ b/.github/actions/ecr-build-push-pull/action.yml @@ -78,10 +78,12 @@ runs: export DOCKER_CONFIG="${DOCKER_CONFIG_DIR}" # Login to ECR registry with token provided by aws cli + echo "🟢 Logging into ECR registry..." aws ecr get-login-password --region "${AWS_REGION}" | \ docker login --username AWS --password-stdin "${REGISTRY}" # Try pulling the exact image from ECR to skip the build + echo "🟢 Checking for existing image ${ECR_IMAGE} in ECR..." if docker pull "${ECR_IMAGE}" 2>/dev/null; then echo "🟢 Image found in ECR, pulled: ${ECR_IMAGE}" docker tag "${ECR_IMAGE}" "${IMAGE_TAG}" @@ -115,6 +117,8 @@ runs: echo "🟢 Building ${IMAGE_TAG}..." DOCKER_BUILDKIT=1 docker build "${BUILD_ARGS[@]}" . + echo "🟢 Build completed for ${IMAGE_TAG}, pushing to ECR..." + if [ -n "${ECR_REPOSITORY}" ]; then docker push "${ECR_IMAGE}" echo "🟢 Pushed ${ECR_IMAGE} to ECR" From fc2a6c2f4f65117e5e47f9671d1d88a0e5a181c9 Mon Sep 17 00:00:00 2001 From: Mikhail Yurasov Date: Sun, 8 Mar 2026 03:20:07 -0700 Subject: [PATCH 14/31] --format --- .github/actions/ecr-build-push-pull/action.yml | 2 +- .github/workflows_disabled/debug-ecr.yml | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/actions/ecr-build-push-pull/action.yml b/.github/actions/ecr-build-push-pull/action.yml index 199d0b982f97..e0c1816b4953 100644 --- a/.github/actions/ecr-build-push-pull/action.yml +++ b/.github/actions/ecr-build-push-pull/action.yml @@ -113,7 +113,7 @@ runs: -t "${ECR_IMAGE}" ) fi - + echo "🟢 Building ${IMAGE_TAG}..." DOCKER_BUILDKIT=1 docker build "${BUILD_ARGS[@]}" . diff --git a/.github/workflows_disabled/debug-ecr.yml b/.github/workflows_disabled/debug-ecr.yml index 056afe0eb6bc..83700c87b461 100644 --- a/.github/workflows_disabled/debug-ecr.yml +++ b/.github/workflows_disabled/debug-ecr.yml @@ -1,3 +1,8 @@ +# Copyright (c) 2022-2026, The Isaac Lab Project Developers (https://github.com/isaac-sim/IsaacLab/blob/main/CONTRIBUTORS.md). +# All rights reserved. +# +# SPDX-License-Identifier: BSD-3-Clause + name: Debug ECR on: From 1b4c0e0729c761dd9aabc75d156db6daeb04407a Mon Sep 17 00:00:00 2001 From: Mikhail Yurasov Date: Sun, 8 Mar 2026 03:37:00 -0700 Subject: [PATCH 15/31] Remove debugging ECR workflow --- .github/workflows_disabled/debug-ecr.yml | 44 ------------------------ 1 file changed, 44 deletions(-) delete mode 100644 .github/workflows_disabled/debug-ecr.yml diff --git a/.github/workflows_disabled/debug-ecr.yml b/.github/workflows_disabled/debug-ecr.yml deleted file mode 100644 index 83700c87b461..000000000000 --- a/.github/workflows_disabled/debug-ecr.yml +++ /dev/null @@ -1,44 +0,0 @@ -# Copyright (c) 2022-2026, The Isaac Lab Project Developers (https://github.com/isaac-sim/IsaacLab/blob/main/CONTRIBUTORS.md). -# All rights reserved. -# -# SPDX-License-Identifier: BSD-3-Clause - -name: Debug ECR - -on: - push: - branches: - - '**' - pull_request: - workflow_dispatch: - -env: - ECR_REGION: us-west-2 - ECR_REPOSITORY: isaaclab-ci - IMAGE_TAG: isaaclab-ci:${{ github.sha }} - -jobs: - build-and-push: - name: Build and push to ECR - runs-on: [self-hosted, gpu] - - steps: - - name: Checkout - uses: actions/checkout@v4 - - - name: Build and push - uses: ./.github/actions/ecr-build-push-pull - with: - image-tag: ${{ env.IMAGE_TAG }} - isaacsim-base-image: nvcr.io/nvidian/isaac-sim - isaacsim-version: latest-develop - dockerfile-path: .github/workflows/Dockerfile.hello - ecr-repository: ${{ env.ECR_REPOSITORY }} - aws-region: ${{ env.ECR_REGION }} - - - name: Run toy task in container - run: | - # ACCEPT_EULA=Y required by the isaac-sim base image at startup - # --entrypoint sh overrides the isaac-sim entrypoint so the container exits after our command - docker run --rm -e ACCEPT_EULA=Y --entrypoint sh "${{ env.IMAGE_TAG }}" \ - -c 'echo "Hello from inside the container!" && uname -a && nvidia-smi' From 577c29b1a6080861654aba02f173d3e08d3724c4 Mon Sep 17 00:00:00 2001 From: Mikhail Yurasov Date: Sun, 8 Mar 2026 03:45:02 -0700 Subject: [PATCH 16/31] Cleanup --- .github/workflows/Dockerfile.hello | 5 ----- 1 file changed, 5 deletions(-) delete mode 100644 .github/workflows/Dockerfile.hello diff --git a/.github/workflows/Dockerfile.hello b/.github/workflows/Dockerfile.hello deleted file mode 100644 index 135cf660b8d2..000000000000 --- a/.github/workflows/Dockerfile.hello +++ /dev/null @@ -1,5 +0,0 @@ -FROM nvcr.io/nvidian/isaac-sim:latest-develop - -RUN echo "Hello from the build stage!" - -CMD ["bash", "-c", "echo 'Hello from the running container!'"] From 8f14e6e5c8115a100096cbea12bdb93de189a510 Mon Sep 17 00:00:00 2001 From: Mikhail Yurasov Date: Sun, 8 Mar 2026 03:46:38 -0700 Subject: [PATCH 17/31] Typo --- docker/Dockerfile.base | 2 +- docker/Dockerfile.curobo | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docker/Dockerfile.base b/docker/Dockerfile.base index 010a066cc516..6f9d1502588d 100644 --- a/docker/Dockerfile.base +++ b/docker/Dockerfile.base @@ -55,7 +55,7 @@ RUN if [ "$(dpkg --print-architecture)" = "arm64" ]; then \ fi # copy files necessary for installing Isaac Lab and its dependencies -# tris way we minimize the chance of cache invalidation on file edits +# this way we minimize the chance of cache invalidation on file edits COPY ../isaaclab.* ../environment.yml ../pyproject.toml ${ISAACLAB_PATH}/ COPY ../tools/ ${ISAACLAB_PATH}/tools/ COPY ../source/ ${ISAACLAB_PATH}/source/ diff --git a/docker/Dockerfile.curobo b/docker/Dockerfile.curobo index cea53e616536..7f71ebbe82ec 100644 --- a/docker/Dockerfile.curobo +++ b/docker/Dockerfile.curobo @@ -90,7 +90,7 @@ ENV LD_LIBRARY_PATH=${CUDA_HOME}/lib64:${LD_LIBRARY_PATH} ENV TORCH_CUDA_ARCH_LIST=8.0+PTX # copy files necessary for installing Isaac Lab and its dependencies -# tris way we minimize the chance of cache invalidation on file edits +# this way we minimize the chance of cache invalidation on file edits COPY ../isaaclab.* ../environment.yml ../pyproject.toml ${ISAACLAB_PATH}/ COPY ../tools/ ${ISAACLAB_PATH}/tools/ COPY ../source/ ${ISAACLAB_PATH}/source/ From 06769ffa7b0e8b23830f71eb9f3d0461b8acfadb Mon Sep 17 00:00:00 2001 From: Mikhail Yurasov Date: Sun, 8 Mar 2026 03:48:06 -0700 Subject: [PATCH 18/31] Remove aws-region warning message from ECR action --- .github/actions/ecr-build-push-pull/action.yml | 5 ----- 1 file changed, 5 deletions(-) diff --git a/.github/actions/ecr-build-push-pull/action.yml b/.github/actions/ecr-build-push-pull/action.yml index e0c1816b4953..3ff204fc434b 100644 --- a/.github/actions/ecr-build-push-pull/action.yml +++ b/.github/actions/ecr-build-push-pull/action.yml @@ -44,11 +44,6 @@ runs: ECR_REPOSITORY="${{ inputs.ecr-repository }}" AWS_REGION="${{ inputs.aws-region }}" - # Warn if aws-region was not explicitly provided - if [ -z "${{ inputs.aws-region }}" ]; then - echo "🟠 aws-region not set, using default: ${{ inputs.aws-region }}. For best performance, set aws-region to match your runner's EC2 region." - fi - if [ -z "${ECR_REPOSITORY}" ]; then echo "🟠 ecr-repository not set, skipping ECR login/push/pull. Building locally only." else From b66881ca568a27c0ab3058e6d2af468304f08b16 Mon Sep 17 00:00:00 2001 From: Mikhail Yurasov Date: Sun, 8 Mar 2026 03:54:04 -0700 Subject: [PATCH 19/31] Switch to Docker Buildx --- .github/actions/ecr-build-push-pull/action.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/actions/ecr-build-push-pull/action.yml b/.github/actions/ecr-build-push-pull/action.yml index 3ff204fc434b..dc6587227cfa 100644 --- a/.github/actions/ecr-build-push-pull/action.yml +++ b/.github/actions/ecr-build-push-pull/action.yml @@ -109,8 +109,12 @@ runs: ) fi + # Set up buildx builder with docker-container driver (required for registry cache export) + docker buildx create --use --driver docker-container --name ci-builder 2>/dev/null \ + || docker buildx use ci-builder + echo "🟢 Building ${IMAGE_TAG}..." - DOCKER_BUILDKIT=1 docker build "${BUILD_ARGS[@]}" . + docker buildx build --load "${BUILD_ARGS[@]}" . echo "🟢 Build completed for ${IMAGE_TAG}, pushing to ECR..." From dcd04415cecdd36b9b2bb63ff8ecd781a8b1bc1d Mon Sep 17 00:00:00 2001 From: Mikhail Yurasov Date: Sun, 8 Mar 2026 04:06:21 -0700 Subject: [PATCH 20/31] Separate layer cache images for base/curobo --- .github/actions/ecr-build-push-pull/action.yml | 7 ++++++- .github/workflows/build.yaml | 2 ++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/actions/ecr-build-push-pull/action.yml b/.github/actions/ecr-build-push-pull/action.yml index dc6587227cfa..1ab00cc09fd9 100644 --- a/.github/actions/ecr-build-push-pull/action.yml +++ b/.github/actions/ecr-build-push-pull/action.yml @@ -27,6 +27,11 @@ inputs: description: 'ECR repository name. If omitted, ECR push/pull/cache is skipped and the image is always built.' required: false default: '' + cache-tag: + description: > + Tag used for the ECR layer cache image (e.g. "cache-base", "cache-curobo"). + required: false + default: 'cache' aws-region: description: > AWS region (e.g. us-west-2, etc). @@ -55,7 +60,7 @@ runs: # (colons/slashes not valid in ECR tags) ECR_TAG=$(echo "${IMAGE_TAG}" | tr ':/' '--') ECR_IMAGE="${REGISTRY}/${ECR_REPOSITORY}:${ECR_TAG}" - CACHE_IMAGE="${REGISTRY}/${ECR_REPOSITORY}:cache" + CACHE_IMAGE="${REGISTRY}/${ECR_REPOSITORY}:${{ inputs.cache-tag }}" # The runner's credential store is broken ("not implemented"), so use a temp config dir # with credsStore disabled. Copy existing ~/.docker/config.json first to preserve other diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index c0ccedd1b1d3..88430b2f1a31 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -59,6 +59,7 @@ jobs: dockerfile-path: docker/Dockerfile.base ecr-repository: ${{ env.ECR_REPOSITORY }} aws-region: ${{ env.ECR_REGION }} + cache-tag: cache-base - name: Clean up stale Docker images if: always() @@ -83,6 +84,7 @@ jobs: dockerfile-path: docker/Dockerfile.curobo ecr-repository: ${{ env.ECR_REPOSITORY }} aws-region: ${{ env.ECR_REGION }} + cache-tag: cache-curobo - name: Clean up stale Docker images if: always() From de80701983145f1d7f4365c04a3e9e262fbd637d Mon Sep 17 00:00:00 2001 From: Mikhail Yurasov Date: Sun, 8 Mar 2026 04:08:06 -0700 Subject: [PATCH 21/31] Add --platform, x86/adm64 fo now - for compatibility --- .github/actions/ecr-build-push-pull/action.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/actions/ecr-build-push-pull/action.yml b/.github/actions/ecr-build-push-pull/action.yml index 1ab00cc09fd9..1b840e0b34d3 100644 --- a/.github/actions/ecr-build-push-pull/action.yml +++ b/.github/actions/ecr-build-push-pull/action.yml @@ -96,6 +96,7 @@ runs: BUILD_ARGS=( --progress=plain + --platform linux/amd64 -f "${{ inputs.dockerfile-path }}" --build-arg "ISAACSIM_BASE_IMAGE_ARG=${{ inputs.isaacsim-base-image }}" --build-arg "ISAACSIM_VERSION_ARG=${{ inputs.isaacsim-version }}" From 799070f89f893560014260a0c6bc436710c5e37f Mon Sep 17 00:00:00 2001 From: Mikhail Yurasov Date: Sun, 8 Mar 2026 04:11:55 -0700 Subject: [PATCH 22/31] Use unique builder names to avoid race conditions --- .github/actions/ecr-build-push-pull/action.yml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/.github/actions/ecr-build-push-pull/action.yml b/.github/actions/ecr-build-push-pull/action.yml index 1b840e0b34d3..a6fbfbff292d 100644 --- a/.github/actions/ecr-build-push-pull/action.yml +++ b/.github/actions/ecr-build-push-pull/action.yml @@ -115,13 +115,18 @@ runs: ) fi - # Set up buildx builder with docker-container driver (required for registry cache export) - docker buildx create --use --driver docker-container --name ci-builder 2>/dev/null \ - || docker buildx use ci-builder + # Set up buildx builder with docker-container driver (required for registry cache export). + BUILDER_NAME="ci-builder-${{ github.run_id }}-${{ github.job }}" + + # Create builder + docker buildx create --use --driver docker-container --name "${BUILDER_NAME}" echo "🟢 Building ${IMAGE_TAG}..." docker buildx build --load "${BUILD_ARGS[@]}" . + # Clean up builder + docker buildx rm "${BUILDER_NAME}" || true + echo "🟢 Build completed for ${IMAGE_TAG}, pushing to ECR..." if [ -n "${ECR_REPOSITORY}" ]; then From e6e909d1c8bfbab878c7504205980bedba683886 Mon Sep 17 00:00:00 2001 From: Mikhail Yurasov Date: Sun, 8 Mar 2026 04:20:30 -0700 Subject: [PATCH 23/31] Reuse existing builder on workflow re-runs --- .github/actions/ecr-build-push-pull/action.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/actions/ecr-build-push-pull/action.yml b/.github/actions/ecr-build-push-pull/action.yml index a6fbfbff292d..fb7e8cf6aa28 100644 --- a/.github/actions/ecr-build-push-pull/action.yml +++ b/.github/actions/ecr-build-push-pull/action.yml @@ -118,8 +118,9 @@ runs: # Set up buildx builder with docker-container driver (required for registry cache export). BUILDER_NAME="ci-builder-${{ github.run_id }}-${{ github.job }}" - # Create builder - docker buildx create --use --driver docker-container --name "${BUILDER_NAME}" + # Create builder (or fall back to reusing existing one on workflow re-runs) + docker buildx create --use --driver docker-container --name "${BUILDER_NAME}" \ + || docker buildx use "${BUILDER_NAME}" echo "🟢 Building ${IMAGE_TAG}..." docker buildx build --load "${BUILD_ARGS[@]}" . From 8572535f0807ef9d80cf1a004e0042396dbb8622 Mon Sep 17 00:00:00 2001 From: Mikhail Yurasov Date: Sun, 8 Mar 2026 04:22:28 -0700 Subject: [PATCH 24/31] Add cache tags for testing tasks --- .github/workflows/build.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 88430b2f1a31..8bf2910b931d 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -113,6 +113,7 @@ jobs: dockerfile-path: docker/Dockerfile.base ecr-repository: ${{ env.ECR_REPOSITORY }} aws-region: ${{ env.ECR_REGION }} + cache-tag: cache-base - name: Run IsaacLab Tasks Tests uses: ./.github/actions/run-tests @@ -174,6 +175,7 @@ jobs: dockerfile-path: docker/Dockerfile.base ecr-repository: ${{ env.ECR_REPOSITORY }} aws-region: ${{ env.ECR_REGION }} + cache-tag: cache-base - name: Run IsaacLab Tasks Tests 2 uses: ./.github/actions/run-tests @@ -234,6 +236,7 @@ jobs: dockerfile-path: docker/Dockerfile.base ecr-repository: ${{ env.ECR_REPOSITORY }} aws-region: ${{ env.ECR_REGION }} + cache-tag: cache-base - name: Run General Tests id: run-general-tests @@ -295,6 +298,7 @@ jobs: dockerfile-path: docker/Dockerfile.curobo ecr-repository: ${{ env.ECR_REPOSITORY }} aws-region: ${{ env.ECR_REGION }} + cache-tag: cache-curobo - name: Run cuRobo and SkillGen Tests uses: ./.github/actions/run-tests From 2b4cfa197727ec82a2ea9ceae1fec5438637e969 Mon Sep 17 00:00:00 2001 From: Mikhail Yurasov Date: Sun, 8 Mar 2026 04:28:43 -0700 Subject: [PATCH 25/31] Add nvcr.io login step just in case --- .github/actions/ecr-build-push-pull/action.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/actions/ecr-build-push-pull/action.yml b/.github/actions/ecr-build-push-pull/action.yml index fb7e8cf6aa28..f9e2cbf1ca0d 100644 --- a/.github/actions/ecr-build-push-pull/action.yml +++ b/.github/actions/ecr-build-push-pull/action.yml @@ -92,6 +92,16 @@ runs: fi fi + # Log into nvcr.io so the Dockerfile can pull nvcr.io base images. + # Credential is written into the temp config dir when ECR is enabled, + # and into the default config when it is not. + if [ -n "${{ env.NGC_API_KEY }}" ]; then + echo "🟢 Logging into nvcr.io..." + docker login -u \$oauthtoken -p ${{ env.NGC_API_KEY }} nvcr.io + else + echo "🟠 NGC_API_KEY not set — skipping nvcr.io login (normal for fork PRs)" + fi + # Build the image BUILD_ARGS=( From 3da458a4db5f92ca628d8f9528ca6120fd0a5d8a Mon Sep 17 00:00:00 2001 From: Mikhail Yurasov Date: Sun, 8 Mar 2026 04:44:07 -0700 Subject: [PATCH 26/31] Add comments for ECR image cleanup steps( for greptile!) --- .github/workflows/build.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 8bf2910b931d..6856184b8479 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -61,6 +61,7 @@ jobs: aws-region: ${{ env.ECR_REGION }} cache-tag: cache-base + # ECR images must be pruned with a lifecycle policy. - name: Clean up stale Docker images if: always() run: docker image prune -f --filter "until=24h" || true @@ -86,6 +87,7 @@ jobs: aws-region: ${{ env.ECR_REGION }} cache-tag: cache-curobo + # ECR images must be pruned with a lifecycle policy. - name: Clean up stale Docker images if: always() run: docker image prune -f --filter "until=24h" || true @@ -149,6 +151,7 @@ jobs: exit 1 fi + # ECR images must be pruned with a lifecycle policy. - name: Clean up stale Docker images if: always() run: docker image prune -f --filter "until=24h" || true @@ -211,6 +214,7 @@ jobs: exit 1 fi + # ECR images must be pruned with a lifecycle policy. - name: Clean up stale Docker images if: always() run: docker image prune -f --filter "until=24h" || true @@ -272,6 +276,7 @@ jobs: exit 1 fi + # ECR images must be pruned with a lifecycle policy. - name: Clean up stale Docker images if: always() run: docker image prune -f --filter "until=24h" || true @@ -334,6 +339,7 @@ jobs: exit 1 fi + # ECR images must be pruned with a lifecycle policy. - name: Clean up stale Docker images if: always() run: docker image prune -f --filter "until=24h" || true From 7f4702272926c1f9f5547b0f18442a64c2e0c442 Mon Sep 17 00:00:00 2001 From: Mikhail Yurasov Date: Sun, 8 Mar 2026 04:44:15 -0700 Subject: [PATCH 27/31] Improve ECR image pull error handling and logging --- .github/actions/ecr-build-push-pull/action.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/actions/ecr-build-push-pull/action.yml b/.github/actions/ecr-build-push-pull/action.yml index f9e2cbf1ca0d..4fe484509131 100644 --- a/.github/actions/ecr-build-push-pull/action.yml +++ b/.github/actions/ecr-build-push-pull/action.yml @@ -84,12 +84,14 @@ runs: # Try pulling the exact image from ECR to skip the build echo "🟢 Checking for existing image ${ECR_IMAGE} in ECR..." - if docker pull "${ECR_IMAGE}" 2>/dev/null; then + PULL_OUTPUT=$(docker pull "${ECR_IMAGE}" 2>&1) && { echo "🟢 Image found in ECR, pulled: ${ECR_IMAGE}" docker tag "${ECR_IMAGE}" "${IMAGE_TAG}" echo "🟢 Tagged as: ${IMAGE_TAG} — skipping build." exit 0 - fi + } || { + echo "🟠 Image not pulled (will build instead): ${PULL_OUTPUT}" + } fi # Log into nvcr.io so the Dockerfile can pull nvcr.io base images. From 5dc0277cfcf99671f26514a7e9146292147b485b Mon Sep 17 00:00:00 2001 From: Mikhail Yurasov Date: Sun, 8 Mar 2026 04:54:06 -0700 Subject: [PATCH 28/31] Cleanup dependencies on the same like so image is slightly smaller --- docker/Dockerfile.base | 8 +++----- docker/Dockerfile.curobo | 8 +++----- 2 files changed, 6 insertions(+), 10 deletions(-) diff --git a/docker/Dockerfile.base b/docker/Dockerfile.base index 6f9d1502588d..1a4445248809 100644 --- a/docker/Dockerfile.base +++ b/docker/Dockerfile.base @@ -72,11 +72,9 @@ RUN ln -sf ${ISAACSIM_ROOT_PATH} ${ISAACLAB_PATH}/_isaac_sim # Install toml dependency RUN ${ISAACLAB_PATH}/isaaclab.sh -p -m pip install toml -# Install apt dependencies for extensions that declare them in their extension.toml -RUN ${ISAACLAB_PATH}/isaaclab.sh -p ${ISAACLAB_PATH}/tools/install_deps.py apt ${ISAACLAB_PATH}/source - -# Apt Cleanup -RUN apt-get -y autoremove && apt-get clean && \ +# Install apt dependencies for extensions that declare them in their extension.toml, +RUN ${ISAACLAB_PATH}/isaaclab.sh -p ${ISAACLAB_PATH}/tools/install_deps.py apt ${ISAACLAB_PATH}/source && \ + apt-get -y autoremove && apt-get clean && \ rm -rf /var/lib/apt/lists/* # for singularity usage, have to create the directories that will binded diff --git a/docker/Dockerfile.curobo b/docker/Dockerfile.curobo index 7f71ebbe82ec..444afb0d4e34 100644 --- a/docker/Dockerfile.curobo +++ b/docker/Dockerfile.curobo @@ -107,11 +107,9 @@ RUN ln -sf ${ISAACSIM_ROOT_PATH} ${ISAACLAB_PATH}/_isaac_sim # Install toml dependency RUN ${ISAACLAB_PATH}/isaaclab.sh -p -m pip install toml -# Install apt dependencies for extensions that declare them in their extension.toml -RUN ${ISAACLAB_PATH}/isaaclab.sh -p ${ISAACLAB_PATH}/tools/install_deps.py apt ${ISAACLAB_PATH}/source - -# Apt Cleanup -RUN apt-get -y autoremove && apt-get clean && \ +# Install apt dependencies for extensions that declare them in their extension.toml, +RUN ${ISAACLAB_PATH}/isaaclab.sh -p ${ISAACLAB_PATH}/tools/install_deps.py apt ${ISAACLAB_PATH}/source && \ + apt-get -y autoremove && apt-get clean && \ rm -rf /var/lib/apt/lists/* # for singularity usage, have to create the directories that will binded From e09aff92fbe6b7a62edad39ccb6dbd6d6ea73aaf Mon Sep 17 00:00:00 2001 From: Mikhail Yurasov Date: Sun, 8 Mar 2026 04:57:04 -0700 Subject: [PATCH 29/31] Add cleanup for temporary Docker config directory on exit --- .github/actions/ecr-build-push-pull/action.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/actions/ecr-build-push-pull/action.yml b/.github/actions/ecr-build-push-pull/action.yml index 4fe484509131..b3d99d42a3a9 100644 --- a/.github/actions/ecr-build-push-pull/action.yml +++ b/.github/actions/ecr-build-push-pull/action.yml @@ -67,6 +67,7 @@ runs: # registry auths (e.g. nvcr.io), then strip credsStore/credHelpers. # DOCKER_CONFIG_DIR=$(mktemp -d) + trap 'rm -rf "${DOCKER_CONFIG_DIR}"' EXIT if [ -f "${HOME}/.docker/config.json" ]; then python3 -c "import json; cfg=json.load(open('${HOME}/.docker/config.json')); cfg['credsStore']=''; cfg.pop('credHelpers',None); json.dump(cfg,open('${DOCKER_CONFIG_DIR}/config.json','w'))" else From 06ad4ee5f14bd331a56cdf4eb2a7b18831cef47c Mon Sep 17 00:00:00 2001 From: Mikhail Yurasov Date: Sun, 8 Mar 2026 21:17:09 -0700 Subject: [PATCH 30/31] Use public IsacSim image in example --- .github/actions/ecr-build-push-pull/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/actions/ecr-build-push-pull/README.md b/.github/actions/ecr-build-push-pull/README.md index a4e4171390eb..e615109f061d 100644 --- a/.github/actions/ecr-build-push-pull/README.md +++ b/.github/actions/ecr-build-push-pull/README.md @@ -34,8 +34,8 @@ The IAM role must have at minimum: - uses: ./.github/actions/ecr-build-push-pull with: image-tag: ${{ env.DOCKER_IMAGE_TAG }} - isaacsim-base-image: nvcr.io/nvidian/isaac-sim - isaacsim-version: latest-develop + isaacsim-base-image: nvcr.io/nvidia/isaac-sim + isaacsim-version: 6.0.0 dockerfile-path: docker/Dockerfile.base ecr-repository: isaaclab-ci aws-region: us-west-2 From c59b1b51e2ddede090ada2947a0c6a2e4b01ae70 Mon Sep 17 00:00:00 2001 From: Mikhail Yurasov Date: Sun, 8 Mar 2026 21:20:17 -0700 Subject: [PATCH 31/31] Copy rest of the files in a mo robust way --- docker/Dockerfile.base | 9 ++------- docker/Dockerfile.curobo | 9 ++------- 2 files changed, 4 insertions(+), 14 deletions(-) diff --git a/docker/Dockerfile.base b/docker/Dockerfile.base index 1a4445248809..f13d7918c9a6 100644 --- a/docker/Dockerfile.base +++ b/docker/Dockerfile.base @@ -117,13 +117,8 @@ RUN echo "export ISAACLAB_PATH=${ISAACLAB_PATH}" >> ${HOME}/.bashrc && \ echo "shopt -s histappend" >> /root/.bashrc && \ echo "PROMPT_COMMAND='history -a'" >> /root/.bashrc -# copy the rest of the files that aren't needed for installation -COPY ../apps/ ${ISAACLAB_PATH}/apps/ -COPY ../docker/ ${ISAACLAB_PATH}/docker/ -COPY ../docs/ ${ISAACLAB_PATH}/docs/ -COPY ../scripts/ ${ISAACLAB_PATH}/scripts/ -# copy rest of the root-level files -COPY ../*.md ../VERSION ../CITATION.cff ../LICENSE* ${ISAACLAB_PATH}/ +# copy the rest of the files +COPY ../ ${ISAACLAB_PATH}/ # make working directory as the Isaac Lab directory # this is the default directory when the container is run diff --git a/docker/Dockerfile.curobo b/docker/Dockerfile.curobo index 444afb0d4e34..36072612f576 100644 --- a/docker/Dockerfile.curobo +++ b/docker/Dockerfile.curobo @@ -172,13 +172,8 @@ RUN echo "export ISAACLAB_PATH=${ISAACLAB_PATH}" >> ${HOME}/.bashrc && \ echo "shopt -s histappend" >> /root/.bashrc && \ echo "PROMPT_COMMAND='history -a'" >> /root/.bashrc -# copy the rest of the files that aren't needed for installation -COPY ../apps/ ${ISAACLAB_PATH}/apps/ -COPY ../docker/ ${ISAACLAB_PATH}/docker/ -COPY ../docs/ ${ISAACLAB_PATH}/docs/ -COPY ../scripts/ ${ISAACLAB_PATH}/scripts/ -# copy rest of the root-level files -COPY ../*.md ../VERSION ../CITATION.cff ../LICENSE* ${ISAACLAB_PATH}/ +# copy the rest of the files +COPY ../ ${ISAACLAB_PATH}/ # make working directory as the Isaac Lab directory # this is the default directory when the container is run