-
Notifications
You must be signed in to change notification settings - Fork 0
40 lines (38 loc) · 1.32 KB
/
Copy pathbuild-module.yml
File metadata and controls
40 lines (38 loc) · 1.32 KB
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
name: Build Module
on:
workflow_dispatch:
inputs:
module:
description: 'Select a Gradle module to build.'
required: true
type: choice
options:
- all
- features:continuum-feature-rdkit
- worker
publish_to_maven:
description: 'Publish artifacts to Maven Central'
required: true
type: boolean
default: false
publish_to_docker_hub:
description: 'Push container images to Docker Hub'
required: true
type: boolean
default: false
jobs:
build-module:
uses: ./.github/workflows/generic-module-builder.yml
with:
module-name: ${{ github.event.inputs.module }}
publish_to_maven: ${{ github.event.inputs.publish_to_maven == 'true' }}
publish_to_docker_hub: ${{ github.event.inputs.publish_to_docker_hub == 'true' }}
secrets:
MAVEN_REPO_USERNAME: ${{ secrets.MAVEN_CENTRAL_USERNAME }}
MAVEN_REPO_PASSWORD: ${{ secrets.MAVEN_CENTRAL_PASSWORD }}
GPG_KEY_ID: ${{ secrets.GPG_KEY_ID }}
GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
GPG_SECRET_KEY: ${{ secrets.GPG_SECRET_KEY }}
GPG_PUBLIC_KEY: ${{ secrets.GPG_PUBLIC_KEY }}
DOCKER_HUB_USERNAME: ${{ secrets.DOCKER_HUB_USERNAME }}
DOCKER_HUB_PASSWORD: ${{ secrets.DOCKER_HUB_PASSWORD }}