You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@gravitino.apache.org by fa...@apache.org on 2025/01/17 10:39:50 UTC

(gravitino) branch docker_fix updated (c9c5b74d8 -> a965cd368)

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

fanng pushed a change to branch docker_fix
in repository https://gitbox.apache.org/repos/asf/gravitino.git


    from c9c5b74d8 polish flink document
     add 45240e89e polish flink document
     new a965cd368 polish flink document

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .github/workflows/docker-image.yml   |  14 ++++++++++----
 docs/assets/publish-docker-image.png | Bin 101845 -> 94355 bytes
 2 files changed, 10 insertions(+), 4 deletions(-)


(gravitino) 01/01: polish flink document

Posted by fa...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

fanng pushed a commit to branch docker_fix
in repository https://gitbox.apache.org/repos/asf/gravitino.git

commit a965cd36881a85e6c061ab3825fcee7d322d4344
Author: fanng <xi...@datastrato.com>
AuthorDate: Fri Jan 17 18:39:24 2025 +0800

    polish flink document
---
 .github/workflows/docker-image.yml | 14 ++++++++++----
 1 file changed, 10 insertions(+), 4 deletions(-)

diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml
index 54e17e558..86888517d 100644
--- a/.github/workflows/docker-image.yml
+++ b/.github/workflows/docker-image.yml
@@ -126,10 +126,16 @@ jobs:
           sudo rm -rf /usr/local/lib/android
           sudo rm -rf /opt/hostedtoolcache/CodeQL
           
+          if [[ -n "${tag_name}" ]];then
+            full_tag_name="${tag_name}-${{ github.event.inputs.version }}"
+          else
+            full_tag_name="${{ github.event.inputs.version }}"
+          fi
+          
           if [[ "${publish_latest}" == "true" ]]; then
-            echo "Publish latest tag"
-            ./dev/docker/build-docker.sh --platform all --type ${image_type} --image ${image_name} --tag ${{ github.event.inputs.version }} --latest
+            echo "Publish tag ${full_tag_name}, and update latest too."
+            ./dev/docker/build-docker.sh --platform all --type ${image_type} --image ${image_name} --tag ${full_tag_name} --latest
           else
-            echo "Doesn't publish latest tag"
-            ./dev/docker/build-docker.sh --platform all --type ${image_type} --image ${image_name} --tag "${tag_name}-${{ github.event.inputs.version }}"
+            echo "Publish tag ${full_tag_name}, doesn't update latest."
+            ./dev/docker/build-docker.sh --platform all --type ${image_type} --image ${image_name} --tag ${full_tag_name}
           fi