Skip to content

Commit

Permalink
buildcache registry test 2
Browse files Browse the repository at this point in the history
Signed-off-by: clux <[email protected]>
  • Loading branch information
clux committed Aug 25, 2023
1 parent 2318be7 commit b45661f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/buildkitd.toml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
[worker.oci]
max-parallelism = 4
max-parallelism = 8
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@ jobs:
# official experimental: https://docs.docker.com/build/ci/github-actions/cache/#github-cache
#cache-from: type=gha
#cache-to: type=gha,mode=max
cache-from: type=registry,ref=ghcr.io/${{ github.repository }}:latest
cache-to: type=inline
cache-from: type=registry,ref=ghcr.io/${{ github.repository }}:buildcache
cache-to: type=registry,ref=ghcr.io/${{ github.repository }}:buildcache
#push: ${{ github.ref == 'refs/heads/main' }}
push: true
tags: ${{ steps.meta.outputs.tags }}
Expand Down

0 comments on commit b45661f

Please sign in to comment.