forked from hotosm/field-tm
-
Notifications
You must be signed in to change notification settings - Fork 0
37 lines (34 loc) · 1.1 KB
/
build_odk_imgs.yml
File metadata and controls
37 lines (34 loc) · 1.1 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
name: 🔧 Build ODK Images
on:
# Push includes PR merge
push:
branches:
- dev
paths:
# Workflow is triggered only if odkcentral dir changes
- "src/odkcentral/**"
# Allow manual trigger
workflow_dispatch:
jobs:
build-odkcentral:
uses: hotosm/gh-workflows/.github/workflows/image_build.yml@3.6.0
with:
context: src/odkcentral/api
image_tags: |
"ghcr.io/${{ github.repository }}/odkcentral:v2025.4.4"
"ghcr.io/${{ github.repository }}/odkcentral:latest"
extra_build_args: |
ODK_CENTRAL_TAG=v2025.4.4
multi_arch: true
build-odkcentral-ui:
uses: hotosm/gh-workflows/.github/workflows/image_build.yml@3.6.0
with:
context: src/odkcentral/ui
image_tags: |
"ghcr.io/${{ github.repository }}/odkcentral-ui:v2025.4.4"
"ghcr.io/${{ github.repository }}/odkcentral-ui:latest"
extra_build_args: |
ODK_CENTRAL_TAG=v2025.4.4
multi_arch: true
# Allow usage of ADD directive in this specific use case
skip_cve: "CKV_DOCKER_8,CKV_DOCKER_2,CKV_DOCKER_3,CKV_DOCKER_5,CKV_DOCKER_4"