This repository was archived by the owner on Feb 8, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcontainer.yml
More file actions
30 lines (27 loc) · 1.26 KB
/
container.yml
File metadata and controls
30 lines (27 loc) · 1.26 KB
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
# 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:
- master
pool:
vmImage: 'ubuntu-latest'
steps:
- task: DockerCompose@0
inputs:
containerregistrytype: 'Azure Container Registry'
azureSubscription: 'Pay-As-You-Go'
azureContainerRegistry: '{"loginServer":"funkysi1701.azurecr.io", "id" : "/subscriptions/aa403fbf-410c-4158-9746-9c5f82cfa2dc/resourceGroups/Containers/providers/Microsoft.ContainerRegistry/registries/funkysi1701"}'
dockerComposeFile: 'src/docker-compose.yml'
action: 'Build services'
additionalImageTags: '$(Build.BuildId)'
includeSourceTags: true
# - task: DockerCompose@0
# inputs:
# containerregistrytype: 'Azure Container Registry'
# azureSubscription: 'Pay-As-You-Go (aa403fbf-410c-4158-9746-9c5f82cfa2dc)'
# azureContainerRegistry: '{"loginServer":"funkysi1701.azurecr.io", "id" : "/subscriptions/aa403fbf-410c-4158-9746-9c5f82cfa2dc/resourceGroups/Containers/providers/Microsoft.ContainerRegistry/registries/funkysi1701"}'
# dockerComposeFile: 'src/docker-compose.yml'
# action: 'Push services'
# additionalImageTags: '$(Build.BuildId)'
# includeSourceTags: true