Skip to content

Commit 7d6f5e0

Browse files
committed
workflow: Do not cache to/from to save on space
1 parent 3887da2 commit 7d6f5e0

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,10 @@ jobs:
3838
username: ${{ github.actor }}
3939
password: ${{ secrets.GITHUB_TOKEN }}
4040

41-
- name: Build and cache build-stage
41+
- name: Build container
4242
uses: docker/build-push-action@v3
4343
with:
4444
context: .
45-
cache-from: type=registry,ref=ghcr.io/star-bnl/star-spack:cache-${{ matrix.starenv }}-${{ matrix.compiler }}
46-
cache-to: type=registry,ref=ghcr.io/star-bnl/star-spack:cache-${{ matrix.starenv }}-${{ matrix.compiler }},mode=max
4745
build-args: |
4846
starenv=${{ matrix.starenv }}
4947
compiler=${{ matrix.compiler }}

0 commit comments

Comments
 (0)