sadpandajoe commented on code in PR #45035:
URL: https://github.com/apache/superset/pull/45035#discussion_r4277420398


##########
.github/workflows/docker.yml:
##########
@@ -280,10 +291,15 @@ jobs:
   docker-build:
     name: docker-build
     needs: [setup_matrix, changes]
+    # A push build exists to publish images. Without the Docker Hub
+    # credentials (e.g. on a fork or mirror) it can publish nothing, so it
+    # is skipped there; pull_request builds, which only validate that the
+    # images build, run everywhere.
     if: >-
-      needs.changes.outputs.python == 'true' ||
-      needs.changes.outputs.frontend == 'true' ||
-      needs.changes.outputs.docker == 'true'
+      (github.event_name != 'push' || needs.setup_matrix.outputs.has-secrets) 
&&

Review Comment:
   Fixed in 8da4f8ded4 - the credential guard now applies only to master 
pushes, so version-branch pushes (which use `--load`) keep their build 
validation without Docker Hub credentials.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to