mirror of
https://github.com/actions/runner-images.git
synced 2025-12-20 06:35:47 +00:00
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:
@@ -23,7 +23,7 @@ jobs:
|
|||||||
inputs:
|
inputs:
|
||||||
targetType: filePath
|
targetType: filePath
|
||||||
filePath: ./images.CI/build-image.ps1
|
filePath: ./images.CI/build-image.ps1
|
||||||
arguments: -ResourcesNamePrefix $(Build.BuildNumber) `
|
arguments: -ResourcesNamePrefix $(Build.BuildId) `
|
||||||
-ClientId $(CLIENT_ID) `
|
-ClientId $(CLIENT_ID) `
|
||||||
-ClientSecret $(CLIENT_SECRET) `
|
-ClientSecret $(CLIENT_SECRET) `
|
||||||
-Image ${{ parameters.image_type }} `
|
-Image ${{ parameters.image_type }} `
|
||||||
@@ -42,7 +42,7 @@ jobs:
|
|||||||
inputs:
|
inputs:
|
||||||
targetType: filePath
|
targetType: filePath
|
||||||
filePath: ./images.CI/create-release.ps1
|
filePath: ./images.CI/create-release.ps1
|
||||||
arguments: -BuildId $(Build.BuildNumber) `
|
arguments: -BuildId $(Build.BuildId) `
|
||||||
-Organization $(RELEASE_TARGET_ORGANIZATION) `
|
-Organization $(RELEASE_TARGET_ORGANIZATION) `
|
||||||
-DefinitionId $(RELEASE_TARGET_DEFINITION_ID) `
|
-DefinitionId $(RELEASE_TARGET_DEFINITION_ID) `
|
||||||
-Project $(RELEASE_TARGET_PROJECT) `
|
-Project $(RELEASE_TARGET_PROJECT) `
|
||||||
@@ -55,7 +55,7 @@ jobs:
|
|||||||
inputs:
|
inputs:
|
||||||
targetType: filePath
|
targetType: filePath
|
||||||
filePath: ./images.CI/cleanup.ps1
|
filePath: ./images.CI/cleanup.ps1
|
||||||
arguments: -ResourcesNamePrefix $(Build.BuildNumber) `
|
arguments: -ResourcesNamePrefix $(Build.BuildId) `
|
||||||
-ClientId $(CLIENT_ID) `
|
-ClientId $(CLIENT_ID) `
|
||||||
-ClientSecret $(CLIENT_SECRET) `
|
-ClientSecret $(CLIENT_SECRET) `
|
||||||
-Image ${{ parameters.image_type }} `
|
-Image ${{ parameters.image_type }} `
|
||||||
|
|||||||
Reference in New Issue
Block a user