From f7b1fde1e4826f62e9df11414aa11e6c8c8655d8 Mon Sep 17 00:00:00 2001 From: Zack Fu Zi Xiang Date: Wed, 6 Nov 2024 15:13:26 +0800 Subject: [PATCH] chore: add extra tag options --- .github/workflows/push_latest_docker.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/push_latest_docker.yml b/.github/workflows/push_latest_docker.yml index 6a38d07c..23c91481 100644 --- a/.github/workflows/push_latest_docker.yml +++ b/.github/workflows/push_latest_docker.yml @@ -10,8 +10,8 @@ name: DockerHub Build and Push on: push: tags: - - '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 (without 'v') + - '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') env: CARGO_TERM_COLOR: always