mirror of
https://github.com/actions/runner-images.git
synced 2026-01-08 11:30:49 +08:00
Add explanation why we use Azure DevOps CI
This commit is contained in:
@@ -1,3 +1,9 @@
|
|||||||
|
# Currently, we use Azure DevOps for Images.CI as a temporary solution until GitHub Actions supports our requirements
|
||||||
|
# Since we have to use self-hosted machines to run image builds, we need the following features to use GitHub Actions for Images CI:
|
||||||
|
# - https://github.community/t5/GitHub-Actions/Make-secrets-available-to-builds-of-forks/m-p/30678#M508
|
||||||
|
# - https://github.community/t5/GitHub-Actions/GitHub-Actions-Manual-Trigger-Approvals/td-p/31504
|
||||||
|
# - https://github.community/t5/GitHub-Actions/Protecting-github-workflows/td-p/30290
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
- job:
|
- job:
|
||||||
pool: ci-agent-pool
|
pool: ci-agent-pool
|
||||||
@@ -8,7 +14,7 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- task: PowerShell@2
|
- task: PowerShell@2
|
||||||
displayName: 'Download custom repository'
|
displayName: 'Download custom repository'
|
||||||
condition: and(ne(variables['CUSTOM_REPOSITORY_BRANCH'], ''), ne(variables['CUSTOM_REPOSITORY_URL'], ''))
|
condition: and(ne(variables['CUSTOM_REPOSITORY_URL'], ''), ne(variables['CUSTOM_REPOSITORY_BRANCH'], ''))
|
||||||
inputs:
|
inputs:
|
||||||
targetType: 'inline'
|
targetType: 'inline'
|
||||||
script: |
|
script: |
|
||||||
|
|||||||
Reference in New Issue
Block a user