Skip to content

Commit 71b413b

Browse files
committed
fix: don't always push
1 parent a839feb commit 71b413b

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/docker.js

+1-3
Original file line numberDiff line numberDiff line change
@@ -120,9 +120,7 @@ export async function getDockerCommand({
120120
const isAuthenticated = !!(process.env.DOCKERHUB_TOKEN);
121121

122122
let dockerArgs = '';
123-
dockerArgs += push || isAuthenticated ? ' --push ' : '';
124-
// Always push for now to fix prod issue
125-
dockerArgs +=' --push ';
123+
dockerArgs += push ? ' --push ' : '';
126124
dockerArgs += load ? ' --load ' : '';
127125
const targetArgument = buildTarget ? `--target ${buildTarget}` : '';
128126
const cacheRef = `${CACHE_REPO}:${pyVer}`;

0 commit comments

Comments
 (0)