@@ -2,21 +2,21 @@ name: build-docker-images
22
33on :
44 push :
5- branches : [ "main" ]
6- paths-ignore : [ "*.md" ]
5+ branches : ["main"]
6+ paths-ignore : ["*.md"]
77
88 pull_request :
9- branches : [ "main" ]
10- paths-ignore : [ "*.md" ]
9+ branches : ["main"]
10+ paths-ignore : ["*.md"]
1111
12- workflow_dispatch : # Allows you to run this workflow manually from the Actions tab
12+ workflow_dispatch : # Allows you to run this workflow manually from the Actions tab
1313
1414concurrency :
1515 group : ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
1616 cancel-in-progress : true
1717
1818env :
19- BUILDKIT_PROGRESS : " plain" # Full logs for CI build.
19+ BUILDKIT_PROGRESS : " plain" # Full logs for CI build.
2020 REGISTRY_SRC : ${{ vars.REGISTRY_SRC || 'docker.io' }} # For BASE_NAMESPACE of images: where to pull base images from, docker.io or other source registry URL.
2121 REGISTRY_DST : ${{ vars.REGISTRY_DST || 'docker.io' }} # For tags of built images: where to push images to, docker.io or other destination registry URL.
2222 # DOCKER_REGISTRY_USERNAME and DOCKER_REGISTRY_PASSWORD is required for docker image push, they should be set in CI secrets.
3030jobs :
3131 # # Clash
3232 docker_clash :
33- name : ' app-clash'
33+ name : " app-clash"
3434 runs-on : ubuntu-latest
3535 steps :
3636 - uses : actions/checkout@v5
3939
4040 # # Casdoor
4141 docker_casdoor :
42- name : ' casdoor'
42+ name : " casdoor"
4343 runs-on : ubuntu-latest
4444 steps :
4545 - uses : actions/checkout@v5
4848
4949 # # Keycloak
5050 docker_keycloak :
51- name : ' keycloak'
51+ name : " keycloak"
5252 runs-on : ubuntu-latest
5353 steps :
5454 - uses : actions/checkout@v5
5757
5858 # # DevHub
5959 job-dev-hub :
60- name : ' dev-hub'
60+ name : " dev-hub"
6161 runs-on : ubuntu-latest
6262 steps :
6363 - uses : actions/checkout@v5
7070
7171 # # OpenResty as gateway
7272 job-openresty :
73- name : ' openresty'
73+ name : " openresty"
7474 runs-on : ubuntu-latest
7575 steps :
7676 - uses : actions/checkout@v5
7979
8080 # # SearchNGX for searching
8181 job-searxng :
82- name : ' searxng'
82+ name : " searxng"
8383 runs-on : ubuntu-latest
8484 steps :
8585 - uses : actions/checkout@v5
8888
8989 # # StoreBox
9090 job-storebox :
91- name : ' storebox'
91+ name : " storebox"
9292 runs-on : ubuntu-latest
9393 steps :
9494 - uses : actions/checkout@v5
9898
9999 # # lognet for log management
100100 job-logent :
101- name : ' logent'
101+ name : " logent"
102102 runs-on : ubuntu-latest
103103 steps :
104104 - uses : actions/checkout@v5
@@ -108,18 +108,27 @@ jobs:
108108
109109 # # nocobase for low-code development platform
110110 job-nocobase :
111- name : ' nocobase'
111+ name : " nocobase"
112112 runs-on : ubuntu-latest
113113 steps :
114114 - uses : actions/checkout@v5
115115 - run : |
116116 source ./tool.sh
117117 build_image nocobase latest docker_nocobase/nocobase.Dockerfile && push_image nocobase
118118
119+ # # OpenClaw
120+ job-openclaw :
121+ name : " openclaw"
122+ runs-on : ubuntu-latest
123+ steps :
124+ - uses : actions/checkout@v5
125+ - run : |
126+ source ./tool.sh
127+ build_image openclaw latest docker_openclaw/openclaw.Dockerfile && push_image openclaw
119128
120129 # # DevBox - base
121130 job-base-dev :
122- name : ' developer,base-dev'
131+ name : " developer,base-dev"
123132 runs-on : ubuntu-latest
124133 steps :
125134 - uses : actions/checkout@v5
@@ -133,7 +142,7 @@ jobs:
133142
134143 # # DevBox - data science stack
135144 job-data-science-dev :
136- name : ' data-science-dev'
145+ name : " data-science-dev"
137146 runs-on : ubuntu-latest
138147 steps :
139148 - uses : actions/checkout@v5
@@ -148,7 +157,7 @@ jobs:
148157
149158 # # DevBox - full stack
150159 job-full-stack-dev :
151- name : ' full-stack-dev'
160+ name : " full-stack-dev"
152161 runs-on : ubuntu-latest
153162 steps :
154163 - uses : actions/checkout@v5
@@ -163,7 +172,7 @@ jobs:
163172
164173 # # DevBox - cuda
165174 job-cuda-dev :
166- name : ' full-cuda,cuda-dev'
175+ name : " full-cuda,cuda-dev"
167176 runs-on : ubuntu-latest
168177 steps :
169178 - uses : actions/checkout@v5
@@ -175,10 +184,25 @@ jobs:
175184 --build-arg "ARG_PROFILE_VSCODE=base"
176185 alias_image cuda-dev latest full-cuda latest && push_image dev
177186
178-
179187 # # Sync all images in this build (listed by "names") to mirror registry.
180188 sync_images :
181- needs : ["job-cuda-dev", "job-data-science-dev", "job-full-stack-dev", "job-base-dev", "job-nocobase", "job-logent", "job-storebox", "job-searxng", "job-openresty", "job-dev-hub", "docker_keycloak", "docker_casdoor", "docker_clash"]
189+ needs :
190+ [
191+ " job-cuda-dev" ,
192+ " job-data-science-dev" ,
193+ " job-full-stack-dev" ,
194+ " job-base-dev" ,
195+ " job-nocobase" ,
196+ " job-openclaw" ,
197+ " job-logent" ,
198+ " job-storebox" ,
199+ " job-searxng" ,
200+ " job-openresty" ,
201+ " job-dev-hub" ,
202+ " docker_keycloak" ,
203+ " docker_casdoor" ,
204+ " docker_clash" ,
205+ ]
182206 runs-on : ubuntu-latest
183207 steps :
184208 - uses : actions/checkout@v5
0 commit comments