Skip to content

Commit

Permalink
Update push-trigger.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Manishch22 authored Oct 20, 2023
1 parent 2e9ac7c commit be959a1
Showing 1 changed file with 49 additions and 2 deletions.
51 changes: 49 additions & 2 deletions .github/workflows/push-trigger.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
name: Maven Package upon a push

on:
release:
types: [published]
Expand All @@ -21,7 +20,6 @@ on:
- MOSIP*
- release*
- local*

jobs:
build-maven-esignet:
uses: mosip/kattu/.github/workflows/maven-build.yml@master
Expand All @@ -33,9 +31,21 @@ jobs:
OSSRH_SECRET: ${{ secrets.OSSRH_SECRET }}
OSSRH_TOKEN: ${{ secrets.OSSRH_TOKEN }}
GPG_SECRET: ${{ secrets.GPG_SECRET }}
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK }}

publish_to_nexus:
if: "${{ !contains(github.ref, 'master') && github.event_name != 'pull_request' }}"







Expand All

@@ -47,7 +47,7 @@ jobs:

needs: build-maven-esignet
uses: mosip/kattu/.github/workflows/maven-publish-to-nexus.yml@master
with:
Expand All @@ -46,9 +56,21 @@ jobs:
OSSRH_URL: ${{ secrets.OSSRH_SNAPSHOT_URL }}
OSSRH_TOKEN: ${{ secrets.OSSRH_TOKEN }}
GPG_SECRET: ${{ secrets.GPG_SECRET }}
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK }}


sonar_analysis:







Expand All

@@ -63,7 +63,7 @@ jobs:

needs: build-maven-esignet
if: "${{ github.event_name != 'pull_request' }}"
uses: mosip/kattu/.github/workflows/maven-sonar-analysis.yml@master
Expand All @@ -61,9 +83,21 @@ jobs:
OSSRH_SECRET: ${{ secrets.OSSRH_SECRET }}
OSSRH_TOKEN: ${{ secrets.OSSRH_TOKEN }}
GPG_SECRET: ${{ secrets.GPG_SECRET }}
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK }}

build-dockers:
needs: build-maven-esignet







Expand All

@@ -84,7 +84,7 @@ jobs:

strategy:
matrix:
include:
Expand All @@ -81,9 +115,21 @@ jobs:
DEV_NAMESPACE_DOCKER_HUB: ${{ secrets.DEV_NAMESPACE_DOCKER_HUB }}
ACTOR_DOCKER_HUB: ${{ secrets.ACTOR_DOCKER_HUB }}
RELEASE_DOCKER_HUB: ${{ secrets.RELEASE_DOCKER_HUB }}
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK }}

build-dockers-oidc-ui:
strategy:







Expand All

@@ -102,4 +102,4 @@ jobs:

matrix:
include:
- SERVICE_LOCATION: 'oidc-ui'
Expand All @@ -98,3 +144,4 @@ jobs:
DEV_NAMESPACE_DOCKER_HUB: ${{ secrets.DEV_NAMESPACE_DOCKER_HUB }}
ACTOR_DOCKER_HUB: ${{ secrets.ACTOR_DOCKER_HUB }}
RELEASE_DOCKER_HUB: ${{ secrets.RELEASE_DOCKER_HUB }}
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK }}

0 comments on commit be959a1

Please sign in to comment.