Skip to content

Commit 2df335d

Browse files
Merge pull request #229664 from yitaopan/yitao/spring-cicd
Update CI/CD doc with builder options
2 parents 955e1b7 + 3927f1e commit 2df335d

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

articles/spring-apps/how-to-cicd.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -250,6 +250,23 @@ To deploy directly from an existing container image, use the following pipeline
250250
ContainerImage: '<your image tag>'
251251
```
252252

253+
### Deploy and specify a builder (Enterprise tier only)
254+
255+
If you're using Azure Spring Apps Enterprise tier, you can also specify which builder to use for deploy actions using the `builder` option, as shown in the following example. For more information, see [Use Tanzu Build Service](how-to-enterprise-build-service.md).
256+
257+
```yaml
258+
- task: AzureSpringCloud@0
259+
inputs:
260+
azureSubscription: '<your-service-connection-name>'
261+
Action: 'Deploy'
262+
AzureSpringCloud: '<your-Azure-Spring-Apps-service-instance-name>'
263+
AppName: '<app-name>'
264+
UseStagingDeployment: false
265+
DeploymentName: 'default'
266+
Package: './target/your-result-jar.jar'
267+
Builder: '<your-Tanzu-Build-Service-Builder-resource>'
268+
```
269+
253270
::: zone-end
254271

255272
## Next steps

0 commit comments

Comments
 (0)