This is an automated email from the ASF dual-hosted git repository.
yuqi4733 pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/gravitino.git
The following commit(s) were added to refs/heads/main by this push:
new 2ac2f3a66 [Minor] fix(docker-image): Fix bugs in publishing Iceberg
rest server docker image (#4692)
2ac2f3a66 is described below
commit 2ac2f3a6649f0504e6d37e7ca1e7cbc868fe61ac
Author: Qi Yu <[email protected]>
AuthorDate: Tue Aug 27 00:06:07 2024 +0800
[Minor] fix(docker-image): Fix bugs in publishing Iceberg rest server
docker image (#4692)
### 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.
---
.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 }}"