We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a839feb commit 71b413bCopy full SHA for 71b413b
src/docker.js
@@ -120,9 +120,7 @@ export async function getDockerCommand({
120
const isAuthenticated = !!(process.env.DOCKERHUB_TOKEN);
121
122
let dockerArgs = '';
123
- dockerArgs += push || isAuthenticated ? ' --push ' : '';
124
- // Always push for now to fix prod issue
125
- dockerArgs +=' --push ';
+ dockerArgs += push ? ' --push ' : '';
126
dockerArgs += load ? ' --load ' : '';
127
const targetArgument = buildTarget ? `--target ${buildTarget}` : '';
128
const cacheRef = `${CACHE_REPO}:${pyVer}`;
0 commit comments