1
1
env :
2
2
REGISTRY : ghcr.io
3
- IMAGE_NAME :
4
- ${{ github.event_name != 'pull_request' && github.event_name !=
3
+ IMAGE_NAME : ${{ github.event_name != 'pull_request' && github.event_name !=
5
4
' workflow_dispatch' && github.repository || 'windmill-labs/windmill-test' }}
6
- DEV_SHA :
7
- ${{ github.event_name != 'pull_request' && github.event_name !=
5
+ DEV_SHA : ${{ github.event_name != 'pull_request' && github.event_name !=
8
6
' workflow_dispatch' && 'dev' || github.event.inputs.tag || github.sha }}
9
7
name : Build windmill:main
10
8
on :
@@ -40,8 +38,7 @@ permissions: write-all
40
38
jobs :
41
39
build :
42
40
runs-on : ubicloud
43
- if :
44
- (github.event_name != 'workflow_dispatch') || (github.event.inputs &&
41
+ if : (github.event_name != 'workflow_dispatch') || (github.event.inputs &&
45
42
!github.event.inputs.ee)
46
43
steps :
47
44
- uses : actions/checkout@v4
95
92
platforms : linux/amd64,linux/arm64
96
93
push : true
97
94
build-args : |
98
- features=embedding,parquet,openidconnect,jemalloc,license,http_trigger,zip,oauth2,dind,postgres_trigger,mqtt_trigger,websocket,smtp,static_frontend,agent_worker_server,all_languages
95
+ features=embedding,parquet,openidconnect,jemalloc,license,http_trigger,zip,oauth2,dind,postgres_trigger,mqtt_trigger,websocket,smtp,static_frontend,agent_worker_server,all_languages,deno_core
99
96
tags : |
100
97
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ env.DEV_SHA }}
101
98
${{ steps.meta-public.outputs.tags }}
@@ -157,7 +154,7 @@ jobs:
157
154
platforms : linux/amd64,linux/arm64
158
155
push : true
159
156
build-args : |
160
- features=enterprise,enterprise_saml,stripe,embedding,parquet,prometheus,openidconnect,cloud,jemalloc,agent_worker_server,tantivy,license,http_trigger,zip,oauth2,kafka,sqs_trigger,nats,otel,dind,postgres_trigger,mqtt_trigger,gcp_trigger,websocket,smtp,static_frontend,all_languages
157
+ features=enterprise,enterprise_saml,stripe,embedding,parquet,prometheus,openidconnect,cloud,jemalloc,agent_worker_server,tantivy,license,http_trigger,zip,oauth2,kafka,sqs_trigger,nats,otel,dind,postgres_trigger,mqtt_trigger,gcp_trigger,websocket,smtp,static_frontend,all_languages,deno_core
161
158
tags : |
162
159
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}-ee:${{ env.DEV_SHA }}
163
160
${{ steps.meta-ee-public.outputs.tags }}
@@ -315,7 +312,7 @@ jobs:
315
312
needs : [run_integration_test, build]
316
313
if :
317
314
github.event_name != 'pull_request' && (github.ref == 'refs/heads/main' ||
318
- startsWith(github.ref, 'refs/tags/v')) && (github.event_name != 'workflow_dispatch')
315
+ startsWith(github.ref, 'refs/tags/v')) && (github.event_name != 'workflow_dispatch')
319
316
steps :
320
317
- uses : actions/checkout@v4
321
318
with :
@@ -355,7 +352,7 @@ jobs:
355
352
verify_ee_image_vulnerabilities :
356
353
runs-on : ubicloud
357
354
needs : [tag_latest_ee]
358
- if : startsWith(github.ref, 'refs/tags/v') && (github.event_name != 'workflow_dispatch')
355
+ if : startsWith(github.ref, 'refs/tags/v') && (github.event_name != 'workflow_dispatch')
359
356
steps :
360
357
- name : Checkout code
361
358
uses : actions/checkout@v4
@@ -397,8 +394,7 @@ jobs:
397
394
build_ee_nsjail :
398
395
needs : [build_ee]
399
396
runs-on : ubicloud
400
- if :
401
- (github.event_name != 'pull_request') && ((github.event_name != 'workflow_dispatch') || (github.event.inputs.ee || github.event.inputs.nsjail))
397
+ if : (github.event_name != 'pull_request') && ((github.event_name != 'workflow_dispatch') || (github.event.inputs.ee || github.event.inputs.nsjail))
402
398
403
399
steps :
404
400
- uses : actions/checkout@v4
@@ -437,7 +433,7 @@ jobs:
437
433
run : |
438
434
sed -i 's|FROM ghcr.io/windmill-labs/windmill-ee:dev|FROM ghcr.io/${{ env.IMAGE_NAME }}-ee:${{ env.DEV_SHA }}|' ./docker/DockerfileNsjail
439
435
cat ./docker/DockerfileNsjail | grep "FROM"
440
-
436
+
441
437
- name : Build and push publicly ee
442
438
uses : depot/build-push-action@v1
443
439
with :
@@ -451,12 +447,10 @@ jobs:
451
447
${{ steps.meta-ee-public.outputs.labels }}
452
448
org.opencontainers.image.licenses=Windmill-Enterprise-License
453
449
454
-
455
450
publish_ecr_s3 :
456
451
needs : [build_ee_nsjail]
457
452
runs-on : ubicloud-standard-2-arm
458
- if :
459
- (github.event_name != 'pull_request') && (github.event_name !=
453
+ if : (github.event_name != 'pull_request') && (github.event_name !=
460
454
' workflow_dispatch' )
461
455
env :
462
456
AWS_ACCESS_KEY_ID : ${{ secrets.AWS_ACCESS_KEY_ID }}
0 commit comments