This commit is contained in:
Steven Vergenz 2020-10-29 17:18:21 -07:00
Родитель aaa1799ba2
Коммит 8b51c52113
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 519F73791BC0A105
4 изменённых файлов: 180 добавлений и 0 удалений

Просмотреть файл

@ -0,0 +1,45 @@
# Docker
# Build and push an image to Azure Container Registry
# https://docs.microsoft.com/azure/devops/pipelines/languages/docker
trigger:
batch: "true"
branches:
include:
- master
paths:
include:
- samples/hello-world/*
resources:
- repo: self
variables:
# Container registry service connection established during pipeline creation
dockerRegistryServiceConnection: '4e58cb86-5184-40de-b14b-ac7156de5891'
imageRepository: 'mrehelloworld30a1'
containerRegistry: 'mreregistry.azurecr.io'
dockerfilePath: '$(Build.SourcesDirectory)/samples/hello-world/Dockerfile'
tag: '$(Build.SourceVersion)'
# Agent VM image name
vmImageName: 'ubuntu-latest'
stages:
- stage: Build
displayName: Build and push stage
jobs:
- job: Build
displayName: Build
pool:
vmImage: $(vmImageName)
steps:
- task: Docker@2
displayName: Build and push an image to container registry
inputs:
command: buildAndPush
repository: $(imageRepository)
dockerfile: $(dockerfilePath)
containerRegistry: $(dockerRegistryServiceConnection)
tags: |
$(tag)

Просмотреть файл

@ -0,0 +1,45 @@
# Docker
# Build and push an image to Azure Container Registry
# https://docs.microsoft.com/azure/devops/pipelines/languages/docker
trigger:
batch: "true"
branches:
include:
- master
paths:
include:
- samples/solar-system/*
resources:
- repo: self
variables:
# Container registry service connection established during pipeline creation
dockerRegistryServiceConnection: '4e58cb86-5184-40de-b14b-ac7156de5891'
imageRepository: 'mresolarsystema5a1'
containerRegistry: 'mreregistry.azurecr.io'
dockerfilePath: '$(Build.SourcesDirectory)/samples/solar-system/Dockerfile'
tag: '$(Build.SourceVersion)'
# Agent VM image name
vmImageName: 'ubuntu-latest'
stages:
- stage: Build
displayName: Build and push stage
jobs:
- job: Build
displayName: Build
pool:
vmImage: $(vmImageName)
steps:
- task: Docker@2
displayName: Build and push an image to container registry
inputs:
command: buildAndPush
repository: $(imageRepository)
dockerfile: $(dockerfilePath)
containerRegistry: $(dockerRegistryServiceConnection)
tags: |
$(tag)

Просмотреть файл

@ -0,0 +1,45 @@
# Docker
# Build and push an image to Azure Container Registry
# https://docs.microsoft.com/azure/devops/pipelines/languages/docker
trigger:
batch: "true"
branches:
include:
- master
paths:
include:
- samples/tic-tac-toe/*
resources:
- repo: self
variables:
# Container registry service connection established during pipeline creation
dockerRegistryServiceConnection: '4e58cb86-5184-40de-b14b-ac7156de5891'
imageRepository: 'mretictactoef5d7'
containerRegistry: 'mreregistry.azurecr.io'
dockerfilePath: '$(Build.SourcesDirectory)/samples/tic-tac-toe/Dockerfile'
tag: '$(Build.SourceVersion)'
# Agent VM image name
vmImageName: 'ubuntu-latest'
stages:
- stage: Build
displayName: Build and push stage
jobs:
- job: Build
displayName: Build
pool:
vmImage: $(vmImageName)
steps:
- task: Docker@2
displayName: Build and push an image to container registry
inputs:
command: buildAndPush
repository: $(imageRepository)
dockerfile: $(dockerfilePath)
containerRegistry: $(dockerRegistryServiceConnection)
tags: |
$(tag)

Просмотреть файл

@ -0,0 +1,45 @@
# Docker
# Build and push an image to Azure Container Registry
# https://docs.microsoft.com/azure/devops/pipelines/languages/docker
trigger:
batch: "true"
branches:
include:
- master
paths:
include:
- samples/wear-a-hat/*
resources:
- repo: self
variables:
# Container registry service connection established during pipeline creation
dockerRegistryServiceConnection: '4e58cb86-5184-40de-b14b-ac7156de5891'
imageRepository: 'mrewearahatf2ab'
containerRegistry: 'mreregistry.azurecr.io'
dockerfilePath: '$(Build.SourcesDirectory)/samples/wear-a-hat/Dockerfile'
tag: '$(Build.SourceVersion)'
# Agent VM image name
vmImageName: 'ubuntu-latest'
stages:
- stage: Build
displayName: Build and push stage
jobs:
- job: Build
displayName: Build
pool:
vmImage: $(vmImageName)
steps:
- task: Docker@2
displayName: Build and push an image to container registry
inputs:
command: buildAndPush
repository: $(imageRepository)
dockerfile: $(dockerfilePath)
containerRegistry: $(dockerRegistryServiceConnection)
tags: |
$(tag)