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 2025/05/14 05:22:45 UTC

(superset) branch template_less updated: set the test for docker-compose-image-tag to only happen on merge to master

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

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


The following commit(s) were added to refs/heads/template_less by this push:
     new b9710f947c set the test for docker-compose-image-tag to only happen on merge to master
b9710f947c is described below

commit b9710f947cdf7829469b7668ee6275c20ce52d53
Author: Maxime Beauchemin <ma...@gmail.com>
AuthorDate: Tue May 13 22:22:26 2025 -0700

    set the test for docker-compose-image-tag to only happen on merge to master
---
 .github/workflows/docker.yml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml
index df36d2f546..91417cc86a 100644
--- a/.github/workflows/docker.yml
+++ b/.github/workflows/docker.yml
@@ -111,6 +111,9 @@ jobs:
           docker compose up superset-init --exit-code-from superset-init
 
   docker-compose-image-tag:
+    # Run this job only on pushes to master (not for PRs)
+    # goal is to check that building the latest image works, not required for all PR pushes
+    if: github.event_name == 'push' && github.ref == 'refs/heads/master'
     runs-on: ubuntu-24.04
     steps:
       - name: "Checkout ${{ github.ref }} ( ${{ github.sha }} )"