Skip to content

Commit 0212381

Browse files
Models docker not to be compressed
1 parent 6340b9b commit 0212381

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/ai-runner-models.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ jobs:
8888
file: runner/docker/Dockerfile.models
8989
cache-from: type=registry,ref=livepeerci/ai-runner-models:dockerbuildcache-batch
9090
cache-to: type=registry,ref=livepeerci/ai-runner-models:dockerbuildcache-batch,mode=max
91+
outputs: type=image,compression=uncompressed,force-compression=true
9192

9293
download_build_tensorrt_models:
9394
strategy:
@@ -159,8 +160,9 @@ jobs:
159160
with:
160161
context: .
161162
platforms: linux/amd64
162-
push: ${{ github.event_name != 'pull_request' }}
163+
push: true
163164
tags: ${{ steps.meta.outputs.tags }}
164165
file: runner/docker/Dockerfile.models
165166
cache-from: type=registry,ref=livepeerci/ai-runner-models:dockerbuildcache-tensorrt-${{ matrix.gpu }}
166167
cache-to: type=registry,ref=livepeerci/ai-runner-models:dockerbuildcache-tensorrt-${{ matrix.gpu }},mode=max
168+
outputs: type=image,compression=uncompressed,force-compression=true

0 commit comments

Comments
 (0)