This is an automated email from the ASF dual-hosted git repository.

dpgaspar pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/superset.git


The following commit(s) were added to refs/heads/master by this push:
     new 2948abc55e fix: master docker build is broken (#27507)
2948abc55e is described below

commit 2948abc55e8044bc3e002fe47b4277e3fb58edf1
Author: Maxime Beauchemin <[email protected]>
AuthorDate: Thu Mar 14 02:01:13 2024 -0700

    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 1bf9695c23..03eb1a315f 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}` : '';

Reply via email to