-
Notifications
You must be signed in to change notification settings - Fork 15
65 lines (63 loc) · 2.05 KB
/
push-trigger.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
name: Docker image builds
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:
- '!release-branch'
- master
- 1.*
- develop
- MOSIP*
- release*
jobs:
build-kafka-producer-docker:
strategy:
matrix:
include:
- SERVICE_LOCATION: 'kafka-producer'
SERVICE_NAME: 'kafka-producer'
BASE_IMAGE_BUILD: false
- SERVICE_LOCATION: 'minio-client-util'
SERVICE_NAME: 'minio-client-util'
BASE_IMAGE_BUILD: true
- SERVICE_LOCATION: 'openssl'
SERVICE_NAME: 'openssl'
BASE_IMAGE_BUILD: true
- SERVICE_LOCATION: 'openjdk/17-jre'
SERVICE_NAME: 'openjdk-17-jre'
BASE_IMAGE_BUILD: true
- SERVICE_LOCATION: 'openjdk/21-jre'
SERVICE_NAME: 'openjdk-21-jre'
BASE_IMAGE_BUILD: true
- SERVICE_LOCATION: 'alpine'
SERVICE_NAME: 'alpine'
BASE_IMAGE_BUILD: true
- SERVICE_LOCATION: 'openjdk/21-jdk'
SERVICE_NAME: 'openjdk-21-jdk'
BASE_IMAGE_BUILD: true
- SERVICE_LOCATION: 'softhsm-backup'
SERVICE_NAME: 'softhsm-backup'
BASE_IMAGE_BUILD: true
fail-fast: false
name: ${{ matrix.SERVICE_NAME }}
uses: mosip/kattu/.github/workflows/docker-build.yml@develop
with:
SERVICE_LOCATION: ${{ matrix.SERVICE_LOCATION }}
SERVICE_NAME: ${{ matrix.SERVICE_NAME }}
BUILD_ARTIFACT: ${{ matrix.BUILD_ARTIFACT || false }}
BASE_IMAGE_BUILD: ${{ matrix.BASE_IMAGE_BUILD }}
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 }}