From 48c0b16ae01e507cfd60579a8bc275811264cc22 Mon Sep 17 00:00:00 2001 From: RyuH1 Date: Thu, 7 Apr 2022 22:34:34 +0800 Subject: [PATCH] Modify release docker action script trigger condition to tag --- .github/workflows/publish-release-dockers.yaml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/publish-release-dockers.yaml b/.github/workflows/publish-release-dockers.yaml index ab237d4..2c65f6c 100644 --- a/.github/workflows/publish-release-dockers.yaml +++ b/.github/workflows/publish-release-dockers.yaml @@ -1,9 +1,10 @@ name: Publish Docker image for new releases on: - release: - types: - - published + push: + tags: + # Catches v1.2.3 and v1.2.3-rc1 + - v[0-9]+.[0-9]+.[0-9]+* jobs: build_and_push: