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

yuqi1129 pushed a commit to branch branch-2.0
in repository https://gitbox.apache.org/repos/asf/gravitino.git


The following commit(s) were added to refs/heads/branch-2.0 by this push:
     new 5bf62e2f60 [Cherry-pick to branch-2.0] [MINOR] fix(ci): Push chart 
test images to the kind registry through localhost (#14959) (#15055)
5bf62e2f60 is described below

commit 5bf62e2f60f539e6cabff7a66b752f0f8feb5bc1
Author: Danhua Wang <[email protected]>
AuthorDate: Wed Nov 18 18:21:18 2026 +0800

    [Cherry-pick to branch-2.0] [MINOR] fix(ci): Push chart test images to the 
kind registry through localhost (#14959) (#15055)
    
    **Cherry-pick Information:**
    - Original PR: https://github.com/apache/gravitino/pull/14959
    - Original commit: e0ff31bc69a35444726b74274f6376288958c8f3
    - Target branch: `branch-2.0`
    - Status: ✅ Clean cherry-pick (no conflicts)
    
    Note: The original PR is still open on `main`; this is a manual backport
    of the same fix so `branch-2.0` chart CI can push images on ubuntu-26.04
    / Docker 29 runners.
    
    Made with [Cursor](https://cursor.com)
    
    Co-authored-by: yangjie01 <[email protected]>
---
 .github/workflows/chart-test.yaml | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/.github/workflows/chart-test.yaml 
b/.github/workflows/chart-test.yaml
index 6e31278202..4127038bf3 100644
--- a/.github/workflows/chart-test.yaml
+++ b/.github/workflows/chart-test.yaml
@@ -204,7 +204,11 @@ jobs:
             CONTEXT_DIR="${{ github.workspace }}/dev/docker/${FOLDER_NAME}/"
             . ${CONTEXT_DIR}/${FOLDER_NAME}-dependency.sh
             docker build -t ${KIND_REGISTRY}/${REPO_NAME}:${tag} 
"${CONTEXT_DIR}"
-            docker push ${KIND_REGISTRY}/${REPO_NAME}:${tag}
+            # With the containerd image store (ubuntu-26.04), Docker pushes to 
${KIND_REGISTRY} over HTTPS
+            # and fails, but uses plain HTTP for localhost. Both names reach 
the registry the cluster pulls from.
+            PUSH_IMAGE="localhost:${KIND_REGISTRY##*:}/${REPO_NAME}:${tag}"
+            docker tag ${KIND_REGISTRY}/${REPO_NAME}:${tag} "${PUSH_IMAGE}"
+            docker push "${PUSH_IMAGE}"
             )
           done
 

Reply via email to