Skip to content

Commit 9762a06

Browse files
committed
do not cache image layers in CI docker build
1 parent 84c9ecc commit 9762a06

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

Diff for: .github/workflows/build-container.yml

+4-7
Original file line numberDiff line numberDiff line change
@@ -76,9 +76,6 @@ jobs:
7676
latest=${{ matrix.gpu-driver == 'cuda' && github.ref == 'refs/heads/main' }}
7777
suffix=-${{ matrix.gpu-driver }},onlatest=false
7878
79-
- name: Set up QEMU
80-
uses: docker/setup-qemu-action@v3
81-
8279
- name: Set up Docker Buildx
8380
uses: docker/setup-buildx-action@v3
8481
with:
@@ -103,7 +100,7 @@ jobs:
103100
push: ${{ github.ref == 'refs/heads/main' || github.ref_type == 'tag' || github.event.inputs.push-to-registry }}
104101
tags: ${{ steps.meta.outputs.tags }}
105102
labels: ${{ steps.meta.outputs.labels }}
106-
cache-from: |
107-
type=gha,scope=${{ github.ref_name }}-${{ matrix.gpu-driver }}
108-
type=gha,scope=main-${{ matrix.gpu-driver }}
109-
cache-to: type=gha,mode=max,scope=${{ github.ref_name }}-${{ matrix.gpu-driver }}
103+
# cache-from: |
104+
# type=gha,scope=${{ github.ref_name }}-${{ matrix.gpu-driver }}
105+
# type=gha,scope=main-${{ matrix.gpu-driver }}
106+
# cache-to: type=gha,mode=max,scope=${{ github.ref_name }}-${{ matrix.gpu-driver }}

0 commit comments

Comments
 (0)