Skip to content

World's most powerful open data catalog for building a high-performance, geo-distributed and federated metadata lake.

[#2119] improvement(build): Update Docker latest tag for the branch which name is not the main (#2120)

qqqttt123f98967cac216
diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml
index a7ddbdc87c..f1db368263 100644
--- a/.github/workflows/docker-image.yml
+++ b/.github/workflows/docker-image.yml
@@ -76,9 +76,5 @@ jobs:
java-version: '8'
distribution: 'temurin'
- - name: Build and Push the main branch Docker image
- if: ${{ github.ref_name == 'main' }}
+ - name: Build and Push the Docker image
run: ./dev/docker/build-docker.sh --platform all --type ${image_type} --image ${image_name} --tag ${{ github.event.inputs.tag }} --latest
- - name: Build and Push the other branch Docker image
- if: ${{ github.ref_name != 'main' }}
- run: ./dev/docker/build-docker.sh --platform all --type ${image_type} --image ${image_name} --tag ${{ github.event.inputs.tag }}