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

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


The following commit(s) were added to refs/heads/branch-0.6 by this push:
     new 45cb8035b [Minor] fix(docker-image): Fix bugs in publishing Iceberg 
rest server docker image (#4693)
45cb8035b is described below

commit 45cb8035bf6a9bb14d6c3d47c1589a4a2bc4f6e3
Author: github-actions[bot] 
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Tue Aug 27 07:36:37 2024 +0800

    [Minor] fix(docker-image): Fix bugs in publishing Iceberg rest server 
docker image (#4693)
    
    ### What changes were proposed in this pull request?
    
    Fix the bugs about github environment for image_type
    
    ### Why are the changes needed?
    
    it's a bug.
    
    
    ### Does this PR introduce _any_ user-facing change?
    
    N/A
    
    ### How was this patch tested?
    
    test locally.
    
    Co-authored-by: Qi Yu <[email protected]>
---
 .github/workflows/docker-image.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.github/workflows/docker-image.yml 
b/.github/workflows/docker-image.yml
index 005cee8e2..e5f1f699d 100644
--- a/.github/workflows/docker-image.yml
+++ b/.github/workflows/docker-image.yml
@@ -115,7 +115,7 @@ jobs:
           sudo rm -rf /usr/local/lib/android
           sudo rm -rf /opt/hostedtoolcache/CodeQL
           
-          if [[ "${image_type}" == "gravitino" || "{image_type}" == 
"iceberg-rest-server" ]]; then
+          if [[ "${image_type}" == "gravitino" || "${image_type}" == 
"iceberg-rest-server" ]]; then
             ./dev/docker/build-docker.sh --platform all --type ${image_type} 
--image ${image_name} --tag ${{ github.event.inputs.version }} --latest
           else
             ./dev/docker/build-docker.sh --platform all --type ${image_type} 
--image ${image_name} --tag "${tag_name}-${{ github.event.inputs.version }}"

Reply via email to