-
-
Notifications
You must be signed in to change notification settings - Fork 46
45 lines (40 loc) · 1.27 KB
/
build_proxy_imgs.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
name: 🔧 Build Proxy Images
on:
# Trigger on schedule
schedule:
# Run midnight 1st and 15th of every month (must be single quote)
# prettier-ignore
- cron: '0 0 * * 1,15'
# Allow manual trigger
workflow_dispatch:
jobs:
build-cert-init-main:
uses: hotosm/gh-workflows/.github/workflows/image_build.yml@1.1.2
with:
context: nginx
target: certs-init-main
image_tags: |
"ghcr.io/${{ github.repository }}/proxy:certs-init-main"
build-cert-init-dev:
uses: hotosm/gh-workflows/.github/workflows/image_build.yml@1.1.2
with:
context: nginx
target: certs-init-development
image_tags: |
"ghcr.io/${{ github.repository }}/proxy:certs-init-development"
"ghcr.io/${{ github.repository }}/proxy:certs-init-staging"
build-proxy-main:
uses: hotosm/gh-workflows/.github/workflows/image_build.yml@1.1.2
with:
context: nginx
target: main
image_tags: |
"ghcr.io/${{ github.repository }}/proxy:main"
build-proxy-dev:
uses: hotosm/gh-workflows/.github/workflows/image_build.yml@1.1.2
with:
context: nginx
target: development
image_tags: |
"ghcr.io/${{ github.repository }}/proxy:development"
"ghcr.io/${{ github.repository }}/proxy:staging"