You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by ma...@apache.org on 2024/03/14 16:42:35 UTC

(superset) branch master updated: fix: another attempt at fixing docker master builds (#27514)

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

maximebeauchemin 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 6e22275c26 fix: another attempt at fixing docker master builds (#27514)
6e22275c26 is described below

commit 6e22275c266e06322de26190b8276f6eb8728147
Author: Maxime Beauchemin <ma...@gmail.com>
AuthorDate: Thu Mar 14 09:42:28 2024 -0700

    fix: another attempt at fixing docker master builds (#27514)
---
 .github/workflows/docker.yml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml
index ef81b99581..bedf12a957 100644
--- a/.github/workflows/docker.yml
+++ b/.github/workflows/docker.yml
@@ -60,6 +60,9 @@ jobs:
           DOCKERHUB_USER: ${{ secrets.DOCKERHUB_USER }}
           DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }}
         run: |
+          if [ -n "$DOCKERHUB_TOKEN" ]; then
+            docker login
+          fi
           # Single platform builds in pull_request context to speed things up
           if [ "${{ github.event_name }}" = "push" ]; then
             PLATFORM_ARG="--platform linux/arm64 --platform linux/amd64"