From ca4117216aa80093caa3fafc7aeeb007c737e2b1 Mon Sep 17 00:00:00 2001 From: Andrew Reiter Date: Wed, 26 Jul 2023 15:25:12 -0400 Subject: [PATCH] Use zstd compression --- .github/workflows/ci.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8d32c8bdf..91e905a2d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -37,7 +37,7 @@ jobs: tags: | ghcr.io/${{ steps.setup.outputs.lowercase-repo }}:${{ github.ref_name }}-${{ env.SHORT_SHA }}-amd64 cache-from: type=gha - cache-to: type=gha,mode=max + cache-to: type=gha,mode=max,compression=zstd - name: Build and push TensorRT (x86 GPU) uses: docker/bake-action@v3 with: @@ -69,7 +69,7 @@ jobs: tags: | ghcr.io/${{ steps.setup.outputs.lowercase-repo }}:${{ github.ref_name }}-${{ env.SHORT_SHA }}-standard-arm64 cache-from: type=gha - cache-to: type=gha,mode=max + cache-to: type=gha,mode=max,compression=zstd - name: Build and push RPi build uses: docker/bake-action@v3 with: @@ -104,7 +104,7 @@ jobs: set: | tensorrt.tags=ghcr.io/${{ steps.setup.outputs.lowercase-repo }}:${{ github.ref_name }}-${{ env.SHORT_SHA }}-tensorrt-jp4 *.cache-from=type=gha - *.cache-to=type=gha,mode=max + *.cache-to=type=gha,mode=max,compression=zstd jetson_jp5_build: runs-on: ubuntu-latest name: Jetson Jetpack 5 @@ -130,7 +130,7 @@ jobs: set: | tensorrt.tags=ghcr.io/${{ steps.setup.outputs.lowercase-repo }}:${{ github.ref_name }}-${{ env.SHORT_SHA }}-tensorrt-jp5 *.cache-from=type=gha - *.cache-to=type=gha,mode=max + *.cache-to=type=gha,mode=max,compression=zstd # The majority of users running arm64 are rpi users, so the rpi # build should be the primary arm64 image assemble_default_build: