Merge pull request #128 from MadhuMosip/MOSIP-32336 #167
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Keycloak Build upon a push | |
on: | |
release: | |
types: [published] | |
pull_request: | |
types: [opened, reopened, synchronize] | |
workflow_dispatch: | |
inputs: | |
message: | |
description: 'Message for manually triggering' | |
required: false | |
default: 'Triggered for Updates' | |
type: string | |
push: | |
branches: | |
- master | |
- develop | |
- 1.* | |
- release* | |
- MOSIP* | |
jobs: | |
build-dockers: | |
strategy: | |
matrix: | |
include: | |
- SERVICE_LOCATION: 'keycloak-jboss' | |
SERVICE_NAME: 'mosip-jboss-keycloak' | |
- SERVICE_LOCATION: 'keycloak-init' | |
SERVICE_NAME: 'keycloak-init' | |
- SERVICE_LOCATION: 'keycloak-artemis' | |
SERVICE_NAME: 'mosip-artemis-keycloak' | |
fail-fast: false | |
name: ${{ matrix.SERVICE_NAME }} | |
uses: mosip/kattu/.github/workflows/docker-build.yml@master | |
with: | |
SERVICE_LOCATION: ${{ matrix.SERVICE_LOCATION }} | |
SERVICE_NAME: ${{ matrix.SERVICE_NAME }} | |
BUILD_ARTIFACT: ${{ matrix.BUILD_ARTIFACT || false }} | |
ONLY_DOCKER: ${{ matrix.ONLY_DOCKER || false }} | |
secrets: | |
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_DEVOPS }} |