Ruifeng Zheng created SPARK-61607:
-------------------------------------

             Summary: Restrict infra image builds on ref creation
                 Key: SPARK-61607
                 URL: https://issues.apache.org/jira/browse/SPARK-61607
             Project: Spark
          Issue Type: Bug
          Components: Project Infra
    Affects Versions: 5.0.0
            Reporter: Ruifeng Zheng


The Build / Cache base image workflow runs for every branch/tag creation in 
apache/spark. It uses github.ref_name directly in Docker image and cache tags, 
so Dependabot branches containing slashes fail with invalid reference format 
before any image is built.

Example: 
https://github.com/apache/spark/actions/runs/43337796507/job/131598297846
The dependabot/bundler/docs/addressable-2.9.1 branch caused all 12 image builds 
to fail.

Restrict creation-triggered builds to branches named master or beginning with 
branch-, and tags beginning with v. Keep the existing behavior for scheduled, 
push, and manual runs.




--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

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

Reply via email to