-
-
Notifications
You must be signed in to change notification settings - Fork 46
62 lines (56 loc) · 1.83 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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
name: 🔧 Build Proxy Images
on:
# Trigger on schedule
schedule:
# Run 2:00 on 1st and 15th of every month
- cron: "0 2 1,15 * *"
# Allow manual trigger
workflow_dispatch:
jobs:
build-cert-init-main:
uses: hotosm/gh-workflows/.github/workflows/image_build.yml@1.2.2
with:
context: nginx
build_target: certs-init-main
image_tags: |
"ghcr.io/${{ github.repository }}/proxy:certs-init-main"
extra_build_args: |
NGINX_TAG=${{ vars.NGINX_TAG }}
build-cert-init-dev:
uses: hotosm/gh-workflows/.github/workflows/image_build.yml@1.2.2
with:
context: nginx
build_target: certs-init-development
image_tags: |
"ghcr.io/${{ github.repository }}/proxy:certs-init-development"
"ghcr.io/${{ github.repository }}/proxy:certs-init-staging"
extra_build_args: |
NGINX_TAG=${{ vars.NGINX_TAG }}
build-proxy-main:
uses: hotosm/gh-workflows/.github/workflows/image_build.yml@1.2.2
with:
context: nginx
build_target: main
image_tags: |
"ghcr.io/${{ github.repository }}/proxy:main"
extra_build_args: |
NGINX_TAG=${{ vars.NGINX_TAG }}
build-proxy-main-plus-script:
uses: hotosm/gh-workflows/.github/workflows/image_build.yml@1.2.2
with:
context: nginx
build_target: main-plus-script
image_tags: |
"ghcr.io/${{ github.repository }}/proxy:main-plus-script"
extra_build_args: |
NGINX_TAG=${{ vars.NGINX_TAG }}
build-proxy-dev:
uses: hotosm/gh-workflows/.github/workflows/image_build.yml@1.2.2
with:
context: nginx
build_target: development
image_tags: |
"ghcr.io/${{ github.repository }}/proxy:development"
"ghcr.io/${{ github.repository }}/proxy:staging"
extra_build_args: |
NGINX_TAG=${{ vars.NGINX_TAG }}