Skip to content

Commit 82781c3

Browse files
committed
Update CI/CD doc with builder options
1 parent 51c5115 commit 82781c3

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 using Tanzu Build Service (Enterprise tier)
254+
255+
If you are using Azure Spring Apps Enterprise tier, you can also use the Tanzu Build Service in the pipeline using the `builder` option. You can find more details in [Use Tanzu Build Service](https://learn.microsoft.com/en-us/azure/spring-apps/how-to-enterprise-build-service?tabs=azure-portal).
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>'
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)