Skip to content

Commit

Permalink
Generating noetic docker image with CUDA (#722)
Browse files Browse the repository at this point in the history
  • Loading branch information
MatthijsBurgh authored Apr 10, 2024
2 parents 095dce8 + bb3d8e6 commit 55202c8
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
18 changes: 18 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,17 +53,34 @@ jobs:
base-image: "ubuntu:24.04"
flavor: u24
create-venv: true
- ros-distro: noetic
ros-version: 1
platform: "amd64"
base-image: "nvidia/cuda:12.1.1-devel-ubuntu20.04"
flavor: cu12.1.1-devel
outputs:
key: ${{ steps.artifacts.outputs.key }}
tag: ${{ steps.script.outputs.tag }}
steps:
- name: Maximize build space
uses: easimon/maximize-build-space@master
with:
build-mount-path: /var/lib/docker/
remove-android: true
remove-dotnet: true
root-reserve-mb: 2048
temp-reserve-mb: 512
- name: Restart docker
run: sudo service docker restart
- uses: actions/checkout@v4
- name: Login to Docker registry
uses: docker/login-action@v3
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Expose GitHub Runtime
uses: crazy-max/ghaction-github-runtime@v3
# Comment out when generating arm64
#- name: Install QEMU
# run: |
Expand Down Expand Up @@ -127,6 +144,7 @@ jobs:
VENV_INCLUDE_SYSTEM_SITE=${VENV_INCLUDE_SYSTEM_SITE:-true}
# shellcheck disable=SC2296
ci/build-docker-image.sh \
--registry="${{ env.REGISTRY }}" \
--image="${TARGET_IMAGE}" \
--branch="${BRANCH}" \
--commit="${GITHUB_SHA}" \
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.23.1
1.23.2

0 comments on commit 55202c8

Please sign in to comment.