You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@inlong.apache.org by do...@apache.org on 2022/11/08 04:05:24 UTC

[inlong] 05/05: [INLONG-6459][CI] Match the branch-version as release branch (#6460)

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

dockerzhang pushed a commit to branch branch-1.4
in repository https://gitbox.apache.org/repos/asf/inlong.git

commit 144e9c0c0ab02e464aad088de1001ed6fdb4d706
Author: Charles Zhang <do...@apache.org>
AuthorDate: Tue Nov 8 11:59:45 2022 +0800

    [INLONG-6459][CI] Match the branch-version as release branch (#6460)
---
 .github/workflows/ci_docker.yml | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/.github/workflows/ci_docker.yml b/.github/workflows/ci_docker.yml
index 2e6ab4bbd..98af35529 100644
--- a/.github/workflows/ci_docker.yml
+++ b/.github/workflows/ci_docker.yml
@@ -95,11 +95,11 @@ jobs:
         run: |
           if [[ ${{ github.ref_name }} == ${{ github.event.repository.default_branch }} ]]; then
             echo "::set-output name=match_master::true"
-          elif [[ ${{ github.ref_name }} =~ ^release-[0-9]+\.[0-9]+\.[0-9]+$ ]]; then
+          elif [[ ${{ github.ref_name }} =~ ^branch-[0-9]+\.[0-9]+$ ]]; then
             echo "::set-output name=match_release::true"
           fi
 
-      # Publish x86 Docker images when the changes are being pushed to the master branch or a release branch like 'release-1.0.0'.
+      # Publish x86 Docker images when the changes are being pushed to the master branch or a release branch like 'branch-1.4'.
       - name: Push x86 Docker images to Docker Hub
         if: |
           steps.match.outputs.match_master == 'true'
@@ -112,7 +112,7 @@ jobs:
           DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
           DOCKER_ORG: inlong
 
-      # Publish aarch64 Docker images when the changes are being pushed to a release branch like 'release-1.0.0'.
+      # Publish aarch64 Docker images when the changes are being pushed to a release branch like 'branch-1.4'.
       - name: Push aarch64 Docker images to Docker Hub
         if: ${{ steps.match.outputs.match_release == 'true' }}
         working-directory: docker