From 9996617b4d60863e7982f22d2cd4a76a8c88a5ef Mon Sep 17 00:00:00 2001 From: Andrew Reiter Date: Mon, 24 Jul 2023 23:20:05 -0400 Subject: [PATCH] CI --- .github/workflows/ci.yml | 30 +++++++++++++++++++++++++++++- 1 file changed, 29 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 66cbea55c..b35f8fca6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -79,7 +79,7 @@ jobs: set: | rpi.tags=ghcr.io/${{ steps.lowercaseRepo.outputs.lowercase }}:${{ github.ref_name }}-${{ env.SHORT_SHA }}-rpi *.cache-from=type=gha - - name: Build and push TensorRT + - name: Build and push TensorRT (x86 GPU) uses: docker/bake-action@v3 with: push: true @@ -88,6 +88,34 @@ jobs: set: | tensorrt.tags=ghcr.io/${{ steps.lowercaseRepo.outputs.lowercase }}:${{ github.ref_name }}-${{ env.SHORT_SHA }}-tensorrt *.cache-from=type=gha + - name: Build and push TensorRT (Jetson, Jetpack 4) + env: + ARCH: arm64 + BASE_IMAGE: timongentzsch/l4t-ubuntu20-opencv:latest + SLIM_BASE: timongentzsch/l4t-ubuntu20-opencv:latest + TRT_BASE: timongentzsch/l4t-ubuntu20-opencv:latest + uses: docker/bake-action@v3 + with: + push: true + targets: tensorrt + files: docker/tensorrt/trt.hcl + set: | + tensorrt.tags=ghcr.io/${{ steps.lowercaseRepo.outputs.lowercase }}:${{ github.ref_name }}-${{ env.SHORT_SHA }}-tensorrt-jp4 + *.cache-from=type=gha + - name: Build and push TensorRT (Jetson, Jetpack 5) + env: + ARCH: arm64 + BASE_IMAGE: nvcr.io/nvidia/l4t-tensorrt:r8.5.2-runtime + SLIM_BASE: nvcr.io/nvidia/l4t-tensorrt:r8.5.2-runtime + TRT_BASE: nvcr.io/nvidia/l4t-tensorrt:r8.5.2-runtime + uses: docker/bake-action@v3 + with: + push: true + targets: tensorrt + files: docker/tensorrt/trt.hcl + set: | + tensorrt.tags=ghcr.io/${{ steps.lowercaseRepo.outputs.lowercase }}:${{ github.ref_name }}-${{ env.SHORT_SHA }}-tensorrt-jp5 + *.cache-from=type=gha - name: Assemble and push default build uses: int128/docker-manifest-create-action@v1 with: