-
Notifications
You must be signed in to change notification settings - Fork 18
40 lines (38 loc) · 1.07 KB
/
build-manual.yaml
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: 'Manual build without tests'
on:
workflow_dispatch:
inputs:
environment:
description: 'Environment to build in'
required: true
type: choice
options:
- pitc-ptime-int
- pitc-ptime-prod
- pude-ptime-prod
default: 'pitc-ptime-int'
project_name:
description: 'Project to build for'
required: true
type: choice
options:
- pitc-ptime-int
- pitc-ptime-prod
- pude-ptime-prod
default: 'pitc-ptime-int'
push:
description: 'Should we push the image to the registry?'
required: true
type: boolean
default: true
jobs:
build-dispatch:
uses: ./.github/workflows/reusable-build.yaml
with:
environment: ${{ inputs.environment }}
project_name: ${{ inputs.project_name }}
push: ${{ inputs.push }}
registry: registry.puzzle.ch
secrets:
PUZZLE_REGISTRY_USERNAME: ${{ secrets.PUZZLE_REGISTRY_USERNAME }}
PUZZLE_REGISTRY_TOKEN: ${{ secrets.PUZZLE_REGISTRY_TOKEN }}