From b45661f9254d53b5f4043d547add101b2ed6bb3d Mon Sep 17 00:00:00 2001 From: clux Date: Fri, 25 Aug 2023 18:37:10 +0100 Subject: [PATCH] buildcache registry test 2 Signed-off-by: clux --- .github/buildkitd.toml | 2 +- .github/workflows/ci.yml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/buildkitd.toml b/.github/buildkitd.toml index ff6039f..2ec65d9 100644 --- a/.github/buildkitd.toml +++ b/.github/buildkitd.toml @@ -1,2 +1,2 @@ [worker.oci] - max-parallelism = 4 + max-parallelism = 8 diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 04acaff..2d5446f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 }}