chore: update ci build regex

This commit is contained in:
Zack Fu Zi Xiang 2024-11-06 15:31:07 +08:00
parent db6799b11b
commit e6dd922cb8
No known key found for this signature in database
1 changed files with 2 additions and 2 deletions

View File

@ -10,8 +10,8 @@ name: DockerHub Build and Push
on:
push:
tags:
- 'v[0-9]+\.[0-9]+\.[0-9]+(?:-[\w\.-]+)?' # Trigger for tags like v1.2.3
- '[0-9]+\.[0-9]+\.[0-9]+(?:-[\w\.-]+)?' # Trigger for tags like 1.2.3 (without 'v')
- 'v[0-9]+.[0-9]+.[0-9]+(-.*)?' # Trigger for tags like v1.2.3
- '[0-9]+.[0-9]+.[0-9]+(-.*)?' # Trigger for tags like 1.2.3 or 1.2.3-alpha
env:
CARGO_TERM_COLOR: always