Skip to content
This repository has been archived by the owner on Jan 16, 2025. It is now read-only.

Commit

Permalink
fix: master docker build is broken (apache#27507)
Browse files Browse the repository at this point in the history
  • Loading branch information
mistercrunch authored Mar 14, 2024
1 parent fb39951 commit 2948abc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/supersetbot/src/docker.js
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ export function getDockerCommand({
const tags = getDockerTags({
preset, platforms, sha, buildContext, buildContextRef: ref, forceLatest,
}).map((tag) => `-t ${tag}`).join(' \\\n ');
const isAuthenticated = !!(process.env.DOCKERHUB_TOKEN && process.env.DOCKERHUB_USER);
const isAuthenticated = !!(process.env.DOCKERHUB_TOKEN);

const dockerArgs = isAuthenticated ? '--push' : '--load';
const targetArgument = buildTarget ? `--target ${buildTarget}` : '';
Expand Down

0 comments on commit 2948abc

Please sign in to comment.