Skip to content

Commit dd79310

Browse files
committed
feat: also do --load when pushing
1 parent 660eb9e commit dd79310

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/docker.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ export async function getDockerCommand({
114114
}).map((tag) => `-t ${tag}`).join(' \\\n ');
115115
const isAuthenticated = !!(process.env.DOCKERHUB_TOKEN);
116116

117-
const dockerArgs = isAuthenticated ? '--push' : '--load';
117+
const dockerArgs = isAuthenticated ? '--push --load' : '--load';
118118
const targetArgument = buildTarget ? `--target ${buildTarget}` : '';
119119
const cacheRef = `${CACHE_REPO}:${pyVer}`;
120120
const platformArg = `--platform ${platforms.join(',')}`;

0 commit comments

Comments
 (0)