chore: update ci version regex

This commit is contained in:
Zack Fu Zi Xiang 2024-11-06 15:28:13 +08:00
parent 81f429755e
commit 321d0b493b
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