Use zstd compression

This commit is contained in:
Andrew Reiter 2023-07-26 15:25:12 -04:00
parent a70180cfc9
commit ca4117216a

View File

@ -37,7 +37,7 @@ jobs:
tags: | tags: |
ghcr.io/${{ steps.setup.outputs.lowercase-repo }}:${{ github.ref_name }}-${{ env.SHORT_SHA }}-amd64 ghcr.io/${{ steps.setup.outputs.lowercase-repo }}:${{ github.ref_name }}-${{ env.SHORT_SHA }}-amd64
cache-from: type=gha 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) - name: Build and push TensorRT (x86 GPU)
uses: docker/bake-action@v3 uses: docker/bake-action@v3
with: with:
@ -69,7 +69,7 @@ jobs:
tags: | tags: |
ghcr.io/${{ steps.setup.outputs.lowercase-repo }}:${{ github.ref_name }}-${{ env.SHORT_SHA }}-standard-arm64 ghcr.io/${{ steps.setup.outputs.lowercase-repo }}:${{ github.ref_name }}-${{ env.SHORT_SHA }}-standard-arm64
cache-from: type=gha cache-from: type=gha
cache-to: type=gha,mode=max cache-to: type=gha,mode=max,compression=zstd
- name: Build and push RPi build - name: Build and push RPi build
uses: docker/bake-action@v3 uses: docker/bake-action@v3
with: with:
@ -104,7 +104,7 @@ jobs:
set: | set: |
tensorrt.tags=ghcr.io/${{ steps.setup.outputs.lowercase-repo }}:${{ github.ref_name }}-${{ env.SHORT_SHA }}-tensorrt-jp4 tensorrt.tags=ghcr.io/${{ steps.setup.outputs.lowercase-repo }}:${{ github.ref_name }}-${{ env.SHORT_SHA }}-tensorrt-jp4
*.cache-from=type=gha *.cache-from=type=gha
*.cache-to=type=gha,mode=max *.cache-to=type=gha,mode=max,compression=zstd
jetson_jp5_build: jetson_jp5_build:
runs-on: ubuntu-latest runs-on: ubuntu-latest
name: Jetson Jetpack 5 name: Jetson Jetpack 5
@ -130,7 +130,7 @@ jobs:
set: | set: |
tensorrt.tags=ghcr.io/${{ steps.setup.outputs.lowercase-repo }}:${{ github.ref_name }}-${{ env.SHORT_SHA }}-tensorrt-jp5 tensorrt.tags=ghcr.io/${{ steps.setup.outputs.lowercase-repo }}:${{ github.ref_name }}-${{ env.SHORT_SHA }}-tensorrt-jp5
*.cache-from=type=gha *.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 # The majority of users running arm64 are rpi users, so the rpi
# build should be the primary arm64 image # build should be the primary arm64 image
assemble_default_build: assemble_default_build: