-
Notifications
You must be signed in to change notification settings - Fork 3
61 lines (57 loc) · 1.74 KB
/
trigger_build_and_push.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
name: Manually build and push all images
on:
workflow_dispatch:
inputs:
force_build:
description: If the build should be forced even if there are no changes
type: boolean
required: false
default: false
push:
description: Push the image to the registry
type: boolean
required: false
default: false
registry:
description: Container registry to use
type: choice
required: false
default: ghcr.io
options:
- ghcr.io
- quay.io
tag:
description: Tag to use for the images (e.g. latest, dev)
type: string
required: false
default: latest
e2xgrader_installation_source:
description: Where to install e2xgrader from
type: choice
required: false
default: pypi
options:
- pypi
- github
e2xgrader_version:
description: Use a specific e2xgrader version from PyPi
type: string
required: false
default: ""
e2xgrader_branch:
description: Which e2xgrader branch or tag to install from. Only takes effect if e2xgrader_installation_source is "github"
type: string
required: false
default: "main"
jobs:
manually_build_all_images:
uses: ./.github/workflows/build_and_push_all_images.yml
with:
force_build: ${{ inputs.force_build }}
push: ${{ inputs.push }}
registry: ${{ inputs.registry }}
tag: ${{ inputs.tag }}
e2xgrader_installation_source: ${{ inputs.e2xgrader_installation_source }}
e2xgrader_version: ${{ inputs.e2xgrader_version }}
e2xgrader_branch: ${{ inputs.e2xgrader_branch }}
secrets: inherit