chore: add extra tag options

This commit is contained in:
Zack Fu Zi Xiang 2024-11-06 15:13:26 +08:00
parent e31e541d07
commit f7b1fde1e4
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: on:
push: push:
tags: tags:
- 'v[0-9]+.[0-9]+.[0-9]+' # Trigger for tags like v1.2.3 - 'v[0-9]+\.[0-9]+\.[0-9]+(?:-[\w\.-]+)?' # Trigger for tags like v1.2.3
- '[0-9]+.[0-9]+.[0-9]+' # Trigger for tags like 1.2.3 (without 'v') - '[0-9]+\.[0-9]+\.[0-9]+(?:-[\w\.-]+)?' # Trigger for tags like 1.2.3 (without 'v')
env: env:
CARGO_TERM_COLOR: always CARGO_TERM_COLOR: always