Skip to content

Commit

Permalink
support multiple conditions to publish oceanbase images (#40)
Browse files Browse the repository at this point in the history
  • Loading branch information
chris-sun-star authored Aug 19, 2024
1 parent 52246b7 commit 14d99b0
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/release-lts-oceanbase-ce.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/release-oceanbase-ce.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/release-oceanbase-cloud-native.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down

0 comments on commit 14d99b0

Please sign in to comment.