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 <xiaoj...@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