From de8e8e2ebaae6206395e3b01852514afaef8e8e0 Mon Sep 17 00:00:00 2001 From: pPrecel Date: Mon, 23 Dec 2024 15:47:03 +0100 Subject: [PATCH 1/2] fix tag resolving --- .github/workflows/create-release-on-tag.yaml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/create-release-on-tag.yaml b/.github/workflows/create-release-on-tag.yaml index c5a15421d..5290e55e6 100644 --- a/.github/workflows/create-release-on-tag.yaml +++ b/.github/workflows/create-release-on-tag.yaml @@ -6,10 +6,8 @@ name: create release on tag on: push: - # TODO: support strict version tag regexp for starting release pipeline ( for example 2.1.3 ) - # to not start workflow on every tag - tags-ignore: - - latest + tags: + - '[0-9]+.[0-9]+.[0-9]+' permissions: # used by build images steps id-token: write # This is required for requesting the JWT token From df646673bb99108b0131c96045b970e269afb092 Mon Sep 17 00:00:00 2001 From: Filip Strozik Date: Mon, 23 Dec 2024 15:54:02 +0100 Subject: [PATCH 2/2] Update .github/workflows/create-release-on-tag.yaml Co-authored-by: Marcin Dobrochowski <39153236+anoipm@users.noreply.github.com> --- .github/workflows/create-release-on-tag.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/create-release-on-tag.yaml b/.github/workflows/create-release-on-tag.yaml index 5290e55e6..51fa57add 100644 --- a/.github/workflows/create-release-on-tag.yaml +++ b/.github/workflows/create-release-on-tag.yaml @@ -7,7 +7,7 @@ name: create release on tag on: push: tags: - - '[0-9]+.[0-9]+.[0-9]+' + - '[0-9]+\.[0-9]+\.[0-9]+' permissions: # used by build images steps id-token: write # This is required for requesting the JWT token