forked from maya-a-iuga/Web-App-DevOps-Project
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathazure-pipelines.yml
More file actions
29 lines (26 loc) · 746 Bytes
/
Copy pathazure-pipelines.yml
File metadata and controls
29 lines (26 loc) · 746 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
# Starter pipeline
# Start with a minimal pipeline that you can customize to build and deploy your code.
# Add steps that build, run tests, deploy, and more:
# https://aka.ms/yaml
trigger:
- main
pool:
vmImage: ubuntu-latest
parallel: 1
steps:
- task: Docker@2
inputs:
containerRegistry: 'Docker Hub'
repository: 'ndm621/web-app-img'
command: 'buildAndPush'
Dockerfile: '**/Dockerfile'
tags: 'latest'
- task: KubernetesManifest@1
inputs:
action: 'deploy'
connectionType: 'azureResourceManager'
azureSubscriptionConnection: 'webapp'
azureResourceGroup: 'networking-rg'
kubernetesCluster: 'terraform-aks-cluster'
useClusterAdmin: true
manifests: './aka-terraform/application-manifest.yaml'