Skip to content

Commit cc309f7

Browse files
committed
Add thor infer docker image to gha
1 parent e4d9eee commit cc309f7

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

.github/workflows/docker-build.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ on:
1818
- 'scripts/setup_*.sh'
1919
- 'src/holosoma_inference/docker/Dockerfile'
2020
- 'src/holosoma_retargeting/docker/Dockerfile'
21+
- 'docker/thor/Dockerfile'
2122

2223
permissions:
2324
contents: read
@@ -52,6 +53,16 @@ jobs:
5253
dockerfile: 'docker/mujoco.Dockerfile'
5354
runner_prefix: 'codebuild-holosoma-a10g-x1-gpu-build'
5455
#TODO: add mujoco warp
56+
# Thor (Jetson) images — aarch64 SBSA, built natively on an ARM runner.
57+
# Single Dockerfile, two targets; each pushes its own image.
58+
- environment: thor-inference
59+
dockerfile: 'docker/thor/Dockerfile'
60+
target: 'inference'
61+
runner_prefix: 'codebuild-holosoma-arm-build'
62+
- environment: thor-inference-ros
63+
dockerfile: 'docker/thor/Dockerfile'
64+
target: 'inference-ros'
65+
runner_prefix: 'codebuild-holosoma-arm-build'
5566
name: Build ${{ matrix.environment }} Docker Image
5667
continue-on-error: true
5768
runs-on: ${{ matrix.runner_prefix }}-${{ github.run_id }}-${{ github.run_attempt }}
@@ -87,6 +98,7 @@ jobs:
8798
with:
8899
context: .
89100
file: "${{ matrix.dockerfile }}"
101+
target: "${{ matrix.target }}"
90102
push: true
91103
tags: "${{ steps.tags.outputs.tags }}"
92104
cache-from: type=registry,ref=${{ steps.name.outputs.image_path }}:buildcache

0 commit comments

Comments
 (0)