Change image prefix (#14)

* add release step

* add creation release

* move file to another folder

* resolve comments

* minor changes

* change BuildNumber to BuildId
This commit is contained in:
Dmitry Shibanov
2020-02-21 11:34:07 +03:00
committed by GitHub
parent 4c8ff2c371
commit fb51ff3b1d

View File

@@ -23,7 +23,7 @@ jobs:
inputs:
targetType: filePath
filePath: ./images.CI/build-image.ps1
arguments: -ResourcesNamePrefix $(Build.BuildNumber) `
arguments: -ResourcesNamePrefix $(Build.BuildId) `
-ClientId $(CLIENT_ID) `
-ClientSecret $(CLIENT_SECRET) `
-Image ${{ parameters.image_type }} `
@@ -42,7 +42,7 @@ jobs:
inputs:
targetType: filePath
filePath: ./images.CI/create-release.ps1
arguments: -BuildId $(Build.BuildNumber) `
arguments: -BuildId $(Build.BuildId) `
-Organization $(RELEASE_TARGET_ORGANIZATION) `
-DefinitionId $(RELEASE_TARGET_DEFINITION_ID) `
-Project $(RELEASE_TARGET_PROJECT) `
@@ -55,7 +55,7 @@ jobs:
inputs:
targetType: filePath
filePath: ./images.CI/cleanup.ps1
arguments: -ResourcesNamePrefix $(Build.BuildNumber) `
arguments: -ResourcesNamePrefix $(Build.BuildId) `
-ClientId $(CLIENT_ID) `
-ClientSecret $(CLIENT_SECRET) `
-Image ${{ parameters.image_type }} `