From 1d607c794679e6777739156efa8e74c589497462 Mon Sep 17 00:00:00 2001 From: Adam Saghy Date: Wed, 29 May 2024 17:04:41 +0200 Subject: [PATCH] FINERACT-2081: Publish docker image only for develop branch and versioned tags --- .github/workflows/publish-dockerhub.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/publish-dockerhub.yml b/.github/workflows/publish-dockerhub.yml index 846621144e7..2bfa0a7437f 100644 --- a/.github/workflows/publish-dockerhub.yml +++ b/.github/workflows/publish-dockerhub.yml @@ -1,6 +1,11 @@ name: Fineract Publish to DockerHub -on: [push, pull_request] +on: + push: + branches: + - develop + tags: + - 1.* permissions: contents: read