generated from bervProject/FeathersJS-Boilerplate
-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.yml
More file actions
32 lines (31 loc) · 837 Bytes
/
build.yml
File metadata and controls
32 lines (31 loc) · 837 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
parameters:
- name: awsCredentials
displayName: AWS Credentials
type: string
default: 'AWS-Dev-AssumeRole'
- name: region
displayName: AWS Region
type: string
default: 'ap-southeast-1'
steps:
- task: UseDotNet@2
displayName: 'Install .NET 10 Preview'
inputs:
packageType: 'sdk'
version: '10.0.x'
includePreviewVersions: true
- script: npm install -g aws-cdk
displayName: 'Install AWS CDK'
- script: dotnet restore
displayName: 'Restore .NET packages'
- script: dotnet build --no-restore -c Release
displayName: 'Build .NET projects'
- script: cd SimplePasswordManagerService.Infra && cdk synth
displayName: 'CDK Synth'
- task: Docker@2
displayName: 'Build Docker Image'
inputs:
command: 'build'
Dockerfile: 'Dockerfile'
repository: 'spms'
tags: '$(Build.BuildId)'