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

gaogaotiantian pushed a commit to branch branch-4.x
in repository https://gitbox.apache.org/repos/asf/spark.git


The following commit(s) were added to refs/heads/branch-4.x by this push:
     new 94dcb7759327 [SPARK-58771][INFRA][FOLLOWUP] Add build-context for 
classic-only image
94dcb7759327 is described below

commit 94dcb77593278d76ad73d693e366441fa5eaf93b
Author: Tian Gao <[email protected]>
AuthorDate: Tue Aug 18 02:12:36 2026 -0700

    [SPARK-58771][INFRA][FOLLOWUP] Add build-context for classic-only image
    
    ### What changes were proposed in this pull request?
    
    Add `build-contexts` for classic-only docker image build.
    
    ### Why are the changes needed?
    
    It was missing from https://github.com/apache/spark/pull/58006 and is 
breaking our CI.
    
    ### Does this PR introduce _any_ user-facing change?
    
    No.
    
    ### How was this patch tested?
    
    CI should be restored.
    
    ### Was this patch authored or co-authored using generative AI tooling?
    
    No.
    
    Closes #58072 from gaogaotiantian/fix-classic-docker-build.
    
    Authored-by: Tian Gao <[email protected]>
    Signed-off-by: Tian Gao <[email protected]>
    (cherry picked from commit 0790be94e643a7297fdfc9748591a30ad5ca85cd)
    Signed-off-by: Tian Gao <[email protected]>
---
 .github/workflows/build_infra_images_cache.yml | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/.github/workflows/build_infra_images_cache.yml 
b/.github/workflows/build_infra_images_cache.yml
index ff0a5d10667a..003e0a9e5fdd 100644
--- a/.github/workflows/build_infra_images_cache.yml
+++ b/.github/workflows/build_infra_images_cache.yml
@@ -151,6 +151,8 @@ jobs:
         uses: docker/build-push-action@53b7df96c91f9c12dcc8a07bcb9ccacbed38856a
         with:
           context: ./dev/spark-test-image/python-312-classic-only/
+          build-contexts: |
+            root=./
           push: true
           tags: 
ghcr.io/apache/spark/apache-spark-github-action-image-pyspark-python-312-classic-only-cache:${{
 github.ref_name }}-static
           cache-from: 
type=registry,ref=ghcr.io/apache/spark/apache-spark-github-action-image-pyspark-python-312-classic-only-cache:${{
 github.ref_name }}


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

Reply via email to