資源定義
資源會指定管線所使用的組建、存放庫、管線和其他資源。
resources:
builds: [ build ] # List of build resources referenced by the pipeline.
containers: [ container ] # List of container images.
pipelines: [ pipeline ] # List of pipeline resources.
repositories: [ repository ] # List of repository resources.
webhooks: [ webhook ] # List of webhooks.
packages: [ package ] # List of package resources.
resources:
builds: [ build ] # List of build resources referenced by the pipeline.
containers: [ container ] # List of container images.
pipelines: [ pipeline ] # List of pipeline resources.
repositories: [ repository ] # List of repository resources.
packages: [ package ] # List of package resources.
resources:
builds: [ build ] # List of build resources referenced by the pipeline.
containers: [ container ] # List of container images.
pipelines: [ pipeline ] # List of pipeline resources.
repositories: [ repository ] # List of repository resources.
參考此定義的定義: 管線
屬性
builds
resources.builds。
管線所參考的組建資源清單。
containers
resources.containers。
容器映射的清單。
pipelines
resources.pipelines。
管線資源清單。
repositories
resources.repositories。
存放庫資源的清單。
webhooks
resources.webhook。
Webhook 清單。
packages
resources.packages。
套件資源清單。