Updated pkg path to github.com/microsoft/ring-operator and fixed mod cmds

This commit is contained in:
Michael Golfi 2019-07-26 21:38:00 -07:00
Родитель e845d0a25e
Коммит 9f1f5797a0
1 изменённых файлов: 17 добавлений и 1 удалений

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

@ -17,6 +17,14 @@ trigger:
# - deploy/*
name: $(Date:yyyyMMdd)$(Rev:r)
variables:
Author: $(Build.RequestedForEmail)
# refs/head/master
BranchFullName: $(Build.SourceBranch)
# master
BranchName: $(Build.SourceBranchName)
CommitID: $(Build.SourceVersion)
jobs:
######################################################################
@ -97,6 +105,10 @@ jobs:
Dockerfile: build/Dockerfile
repository: $(OperatorImage)
tags: $(MyBuildId)
arguments: |
--label author=$(Author)
--label branch=$(BranchName)
--label commit=$(CommitID)
- task: Docker@2
displayName: Build and Push Latest
@ -107,4 +119,8 @@ jobs:
buildContext: $(System.DefaultWorkingDirectory)
Dockerfile: build/Dockerfile
repository: $(OperatorImage)
tags: latest
tags: latest
arguments: |
--label author=$(Author)
--label branch=$(BranchName)
--label commit=$(CommitID)