From 2948abc55e8044bc3e002fe47b4277e3fb58edf1 Mon Sep 17 00:00:00 2001 From: Maxime Beauchemin Date: Thu, 14 Mar 2024 02:01:13 -0700 Subject: [PATCH] fix: master docker build is broken (#27507) --- .github/supersetbot/src/docker.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/supersetbot/src/docker.js b/.github/supersetbot/src/docker.js index 1bf9695c2..03eb1a315 100644 --- a/.github/supersetbot/src/docker.js +++ b/.github/supersetbot/src/docker.js @@ -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}` : '';