From e642c38a397eb18a8cbff2e34d5cb252228cfec2 Mon Sep 17 00:00:00 2001 From: Serhii Kolomiiets Date: Tue, 13 Feb 2024 16:01:27 +0200 Subject: [PATCH] GitHub: changed workflow trigger for several jobs --- .github/workflows/docker-image-publish.yml | 7 ++++--- .github/workflows/release-asset-publish.yml | 7 ++++--- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/.github/workflows/docker-image-publish.yml b/.github/workflows/docker-image-publish.yml index e6239f39d04..63d1961388d 100644 --- a/.github/workflows/docker-image-publish.yml +++ b/.github/workflows/docker-image-publish.yml @@ -1,9 +1,10 @@ name: Publish Docker image for new tag/release on: - push: - tags: - - '*' + workflow_run: + workflows: [Publish release] + types: + - completed env: REGISTRY: ghcr.io diff --git a/.github/workflows/release-asset-publish.yml b/.github/workflows/release-asset-publish.yml index dba51902680..2c8781d9c48 100644 --- a/.github/workflows/release-asset-publish.yml +++ b/.github/workflows/release-asset-publish.yml @@ -1,9 +1,10 @@ name: Publish release .jar on: - push: - tags: - - '*' + workflow_run: + workflows: [Publish release] + types: + - completed jobs: build: