Updated pkg path to github.com/microsoft/ring-operator and fixed mod cmds
This commit is contained in:
Родитель
aa4297ecf1
Коммит
e845d0a25e
|
@ -9,7 +9,8 @@ resources:
|
||||||
endpoint: AzureCR
|
endpoint: AzureCR
|
||||||
options: '-v /usr/bin/docker:/usr/bin/docker -v /var/run/docker.sock:/var/run/docker.sock'
|
options: '-v /usr/bin/docker:/usr/bin/docker -v /var/run/docker.sock:/var/run/docker.sock'
|
||||||
|
|
||||||
# trigger:
|
trigger:
|
||||||
|
batch: true
|
||||||
# paths:
|
# paths:
|
||||||
# exclude:
|
# exclude:
|
||||||
# - assets/*
|
# - assets/*
|
||||||
|
@ -71,6 +72,7 @@ jobs:
|
||||||
variables:
|
variables:
|
||||||
OperatorImage: devcrewsacr.azurecr.io/public/k8s/bedrock/ring-operator
|
OperatorImage: devcrewsacr.azurecr.io/public/k8s/bedrock/ring-operator
|
||||||
# MyBuildId: $(Date:yyyyMMdd)-$(Rev:r)
|
# MyBuildId: $(Date:yyyyMMdd)-$(Rev:r)
|
||||||
|
MyBuildId: $(Build.BuildNumber)
|
||||||
steps:
|
steps:
|
||||||
- download: current
|
- download: current
|
||||||
artifact: build
|
artifact: build
|
||||||
|
@ -94,7 +96,7 @@ jobs:
|
||||||
buildContext: $(System.DefaultWorkingDirectory)
|
buildContext: $(System.DefaultWorkingDirectory)
|
||||||
Dockerfile: build/Dockerfile
|
Dockerfile: build/Dockerfile
|
||||||
repository: $(OperatorImage)
|
repository: $(OperatorImage)
|
||||||
tags: $BUILD_BUILDNUMBER
|
tags: $(MyBuildId)
|
||||||
|
|
||||||
- task: Docker@2
|
- task: Docker@2
|
||||||
displayName: Build and Push Latest
|
displayName: Build and Push Latest
|
||||||
|
|
Загрузка…
Ссылка в новой задаче