7676 uses : docker/setup-buildx-action@v3
7777
7878 - name : Build and push NestJS API image
79+ if : contains(inputs.deploy_targets, 'all') || contains(inputs.deploy_targets, 'nest')
7980 uses : docker/build-push-action@v5
8081 with :
8182 context : .
8990 cache-to : type=gha,mode=max
9091
9192 - name : Build and push Spring Boot API image
93+ if : contains(inputs.deploy_targets, 'all') || contains(inputs.deploy_targets, 'spring')
9294 uses : docker/build-push-action@v5
9395 with :
9496 context : .
@@ -102,6 +104,7 @@ jobs:
102104 cache-to : type=gha,mode=max
103105
104106 - name : Build and push Web image
107+ if : contains(inputs.deploy_targets, 'all') || contains(inputs.deploy_targets, 'web')
105108 uses : docker/build-push-action@v5
106109 with :
107110 context : .
@@ -118,6 +121,7 @@ jobs:
118121 cache-to : type=gha,mode=max
119122
120123 - name : Build and push Log Consumer image
124+ if : contains(inputs.deploy_targets, 'all') || contains(inputs.deploy_targets, 'log')
121125 uses : docker/build-push-action@v5
122126 with :
123127 context : .
@@ -131,6 +135,7 @@ jobs:
131135 cache-to : type=gha,mode=max
132136
133137 - name : Build and push AI API image
138+ if : contains(inputs.deploy_targets, 'all') || contains(inputs.deploy_targets, 'ai')
134139 uses : docker/build-push-action@v5
135140 with :
136141 context : apps/ai-agent
@@ -144,6 +149,7 @@ jobs:
144149 cache-to : type=gha,mode=max
145150
146151 - name : Build and push AI Indexer image
152+ if : contains(inputs.deploy_targets, 'all') || contains(inputs.deploy_targets, 'ai')
147153 uses : docker/build-push-action@v5
148154 with :
149155 context : apps/ai-agent
@@ -157,6 +163,7 @@ jobs:
157163 cache-to : type=gha,mode=max
158164
159165 - name : Build and push AI Worker image
166+ if : contains(inputs.deploy_targets, 'all') || contains(inputs.deploy_targets, 'ai')
160167 uses : docker/build-push-action@v5
161168 with :
162169 context : apps/ai-agent
0 commit comments