Skip to content

Commit

Permalink
rollback local caching
Browse files Browse the repository at this point in the history
  • Loading branch information
mistercrunch committed Dec 11, 2024
1 parent dab3029 commit 8859741
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/docker.js
Original file line number Diff line number Diff line change
Expand Up @@ -118,8 +118,8 @@ export async function getDockerCommand({
const targetArgument = buildTarget ? `--target ${buildTarget}` : '';
const cacheRef = `${CACHE_REPO}:${pyVer}`;
const platformArg = `--platform ${platforms.join(',')}`;
const cacheFromArg = `--cache-from=type=registry,ref=${cacheRef} --cache-from=type=local,src=~/.docker/buildx/cache`;
const cacheToArg = isAuthenticated ? `--cache-to=type=registry,mode=max,ref=${cacheRef}` : '' + ' --cache-to=type=local,dest=~/.docker/buildx/cache';
const cacheFromArg = `--cache-from=type=registry,ref=${cacheRef}`;
const cacheToArg = isAuthenticated ? `--cache-to=type=registry,mode=max,ref=${cacheRef}` : '';
const buildArg = pyVer ? `--build-arg PY_VER=${pyVer}` : '';
const actor = process.env.GITHUB_ACTOR;
const versionLabel = buildContext === 'release' ? `--label version=${buildContextRef}` : '';
Expand Down

0 comments on commit 8859741

Please sign in to comment.