Skip to content

Commit

Permalink
fix: don't always push
Browse files Browse the repository at this point in the history
  • Loading branch information
mistercrunch committed Dec 19, 2024
1 parent a839feb commit 71b413b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/docker.js
Original file line number Diff line number Diff line change
Expand Up @@ -120,9 +120,7 @@ export async function getDockerCommand({
const isAuthenticated = !!(process.env.DOCKERHUB_TOKEN);

let dockerArgs = '';
dockerArgs += push || isAuthenticated ? ' --push ' : '';
// Always push for now to fix prod issue
dockerArgs +=' --push ';
dockerArgs += push ? ' --push ' : '';
dockerArgs += load ? ' --load ' : '';
const targetArgument = buildTarget ? `--target ${buildTarget}` : '';
const cacheRef = `${CACHE_REPO}:${pyVer}`;
Expand Down

0 comments on commit 71b413b

Please sign in to comment.