From d42513518c4a62a597dd75f21312d7240eb96dba Mon Sep 17 00:00:00 2001 From: chris-sun-star Date: Mon, 19 Aug 2024 09:45:00 +0000 Subject: [PATCH 1/5] support publish image seperately --- .github/workflows/release-lts-oceanbase-ce.yml | 3 ++- .github/workflows/release-oceanbase-ce.yml | 3 ++- .github/workflows/release-oceanbase-cloud-native.yml | 5 +++-- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release-lts-oceanbase-ce.yml b/.github/workflows/release-lts-oceanbase-ce.yml index 003f993..ac41bd1 100644 --- a/.github/workflows/release-lts-oceanbase-ce.yml +++ b/.github/workflows/release-lts-oceanbase-ce.yml @@ -3,7 +3,8 @@ name: release lts oceanbase-ce on: push: tags: - - "lts-oceanbase-*" + - "lts-oceanbase-ce-(\d+\.\d+\.\d+\.\d+)-(\d{18})" + - "lts-oceanbase-(\d+\.\d+\.\d+\.\d+)-(\d{18})" env: tagName: ${{ github.ref_name }} diff --git a/.github/workflows/release-oceanbase-ce.yml b/.github/workflows/release-oceanbase-ce.yml index 5079873..d20b987 100644 --- a/.github/workflows/release-oceanbase-ce.yml +++ b/.github/workflows/release-oceanbase-ce.yml @@ -3,7 +3,8 @@ name: release oceanbase-ce on: push: tags: - - "oceanbase-*" + - "oceanbase-ce-(\d+\.\d+\.\d+\.\d+)-(\d{18})" + - "oceanbase-(\d+\.\d+\.\d+\.\d+)-(\d{18})" env: tagName: ${{ github.ref_name }} diff --git a/.github/workflows/release-oceanbase-cloud-native.yml b/.github/workflows/release-oceanbase-cloud-native.yml index 3f7ac61..16848bd 100644 --- a/.github/workflows/release-oceanbase-cloud-native.yml +++ b/.github/workflows/release-oceanbase-cloud-native.yml @@ -3,8 +3,9 @@ name: release oceanbase-cloud-native on: push: tags: - - "oceanbase-*" - - "lts-oceanbase-*" + - "oceanbase-cloud-native-(\d+\.\d+\.\d+\.\d+)-(\d{18})" + - "oceanbase-(\d+\.\d+\.\d+\.\d+)-(\d{18})" + - "lts-oceanbase-(\d+\.\d+\.\d+\.\d+)-(\d{18})" env: tagName: ${{ github.ref_name }} From d1e8c97c82544e8ec1faf0e7e830702beeda1fa9 Mon Sep 17 00:00:00 2001 From: chris-sun-star Date: Mon, 19 Aug 2024 11:39:07 +0000 Subject: [PATCH 2/5] change trigger tag --- .github/workflows/release-oceanbase-ce.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release-oceanbase-ce.yml b/.github/workflows/release-oceanbase-ce.yml index d20b987..643198a 100644 --- a/.github/workflows/release-oceanbase-ce.yml +++ b/.github/workflows/release-oceanbase-ce.yml @@ -3,8 +3,8 @@ name: release oceanbase-ce on: push: tags: - - "oceanbase-ce-(\d+\.\d+\.\d+\.\d+)-(\d{18})" - - "oceanbase-(\d+\.\d+\.\d+\.\d+)-(\d{18})" + - "oceanbase-ce-\d+\.\d+\.\d+\.\d+-\d{18}" + - "oceanbase-\d+\.\d+\.\d+\.\d+-\d{18}" env: tagName: ${{ github.ref_name }} From cf55f62eda9da748a47af67f600b56b600448961 Mon Sep 17 00:00:00 2001 From: chris-sun-star Date: Mon, 19 Aug 2024 11:44:56 +0000 Subject: [PATCH 3/5] change trigger tag --- .github/workflows/release-lts-oceanbase-ce.yml | 4 ++-- .github/workflows/release-oceanbase-ce.yml | 4 ++-- .github/workflows/release-oceanbase-cloud-native.yml | 6 +++--- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/release-lts-oceanbase-ce.yml b/.github/workflows/release-lts-oceanbase-ce.yml index ac41bd1..3d57779 100644 --- a/.github/workflows/release-lts-oceanbase-ce.yml +++ b/.github/workflows/release-lts-oceanbase-ce.yml @@ -3,8 +3,8 @@ name: release lts oceanbase-ce on: push: tags: - - "lts-oceanbase-ce-(\d+\.\d+\.\d+\.\d+)-(\d{18})" - - "lts-oceanbase-(\d+\.\d+\.\d+\.\d+)-(\d{18})" + - "lts-oceanbase-ce-[0-9]+.[0-9]+.[0-9]+.[0-9]+-[0-9]{18}" + - "lts-oceanbase-[0-9]+.[0-9]+.[0-9]+.[0-9]+-[0-9]{18}" env: tagName: ${{ github.ref_name }} diff --git a/.github/workflows/release-oceanbase-ce.yml b/.github/workflows/release-oceanbase-ce.yml index 643198a..cfe8737 100644 --- a/.github/workflows/release-oceanbase-ce.yml +++ b/.github/workflows/release-oceanbase-ce.yml @@ -3,8 +3,8 @@ name: release oceanbase-ce on: push: tags: - - "oceanbase-ce-\d+\.\d+\.\d+\.\d+-\d{18}" - - "oceanbase-\d+\.\d+\.\d+\.\d+-\d{18}" + - "oceanbase-ce-[0-9]+.[0-9]+.[0-9]+.[0-9]+-[0-9]{18}" + - "oceanbase-[0-9]+.[0-9]+.[0-9]+.[0-9]+-[0-9]{18}" env: tagName: ${{ github.ref_name }} diff --git a/.github/workflows/release-oceanbase-cloud-native.yml b/.github/workflows/release-oceanbase-cloud-native.yml index 16848bd..ee042d2 100644 --- a/.github/workflows/release-oceanbase-cloud-native.yml +++ b/.github/workflows/release-oceanbase-cloud-native.yml @@ -3,9 +3,9 @@ name: release oceanbase-cloud-native on: push: tags: - - "oceanbase-cloud-native-(\d+\.\d+\.\d+\.\d+)-(\d{18})" - - "oceanbase-(\d+\.\d+\.\d+\.\d+)-(\d{18})" - - "lts-oceanbase-(\d+\.\d+\.\d+\.\d+)-(\d{18})" + - "oceanbase-cloud-native-[0-9]+.[0-9]+.[0-9]+.[0-9]+-[0-9]{18}" + - "oceanbase-[0-9]+.[0-9]+.[0-9]+.[0-9]+-[0-9]{18}" + - "lts-oceanbase-[0-9]+.[0-9]+.[0-9]+.[0-9]+-[0-9]{18}" env: tagName: ${{ github.ref_name }} From 9ad3dffde199c9d45fdca1895e535ce0a8217a9b Mon Sep 17 00:00:00 2001 From: chris-sun-star Date: Mon, 19 Aug 2024 11:46:26 +0000 Subject: [PATCH 4/5] change trigger tag --- .github/workflows/release-oceanbase-ce.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release-oceanbase-ce.yml b/.github/workflows/release-oceanbase-ce.yml index cfe8737..5c1006f 100644 --- a/.github/workflows/release-oceanbase-ce.yml +++ b/.github/workflows/release-oceanbase-ce.yml @@ -3,8 +3,8 @@ name: release oceanbase-ce on: push: tags: - - "oceanbase-ce-[0-9]+.[0-9]+.[0-9]+.[0-9]+-[0-9]{18}" - - "oceanbase-[0-9]+.[0-9]+.[0-9]+.[0-9]+-[0-9]{18}" + - "oceanbase-ce-[0-9]+.[0-9]+.[0-9]+.[0-9]+-[0-9]+" + - "oceanbase-[0-9]+.[0-9]+.[0-9]+.[0-9]+-[0-9]+" env: tagName: ${{ github.ref_name }} From 3f87e51d9653c32d7482b19fd9284653ca2e068a Mon Sep 17 00:00:00 2001 From: chris-sun-star Date: Mon, 19 Aug 2024 11:47:47 +0000 Subject: [PATCH 5/5] change trigger tag --- .github/workflows/release-lts-oceanbase-ce.yml | 4 ++-- .github/workflows/release-oceanbase-cloud-native.yml | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release-lts-oceanbase-ce.yml b/.github/workflows/release-lts-oceanbase-ce.yml index 3d57779..39b0fc9 100644 --- a/.github/workflows/release-lts-oceanbase-ce.yml +++ b/.github/workflows/release-lts-oceanbase-ce.yml @@ -3,8 +3,8 @@ name: release lts oceanbase-ce on: push: tags: - - "lts-oceanbase-ce-[0-9]+.[0-9]+.[0-9]+.[0-9]+-[0-9]{18}" - - "lts-oceanbase-[0-9]+.[0-9]+.[0-9]+.[0-9]+-[0-9]{18}" + - "lts-oceanbase-ce-[0-9]+.[0-9]+.[0-9]+.[0-9]+-[0-9]+" + - "lts-oceanbase-[0-9]+.[0-9]+.[0-9]+.[0-9]+-[0-9]+" env: tagName: ${{ github.ref_name }} diff --git a/.github/workflows/release-oceanbase-cloud-native.yml b/.github/workflows/release-oceanbase-cloud-native.yml index ee042d2..65a6203 100644 --- a/.github/workflows/release-oceanbase-cloud-native.yml +++ b/.github/workflows/release-oceanbase-cloud-native.yml @@ -3,9 +3,9 @@ name: release oceanbase-cloud-native on: push: tags: - - "oceanbase-cloud-native-[0-9]+.[0-9]+.[0-9]+.[0-9]+-[0-9]{18}" - - "oceanbase-[0-9]+.[0-9]+.[0-9]+.[0-9]+-[0-9]{18}" - - "lts-oceanbase-[0-9]+.[0-9]+.[0-9]+.[0-9]+-[0-9]{18}" + - "oceanbase-cloud-native-[0-9]+.[0-9]+.[0-9]+.[0-9]+-[0-9]+" + - "oceanbase-[0-9]+.[0-9]+.[0-9]+.[0-9]+-[0-9]+" + - "lts-oceanbase-[0-9]+.[0-9]+.[0-9]+.[0-9]+-[0-9]+" env: tagName: ${{ github.ref_name }}