资源定义

资源指定管道使用的生成、存储库、管道和其他资源。

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.

引用此定义的定义: 管道

属性

buildsresources.builds
管道引用的生成资源列表。

containersresources.containers
容器映像列表。

pipelinesresources.pipelines
管道资源列表。

repositoriesresources.repositories
存储库资源列表。

webhooksresources.webhooks
Webhook 列表。

packagesresources.packages
包资源列表。

请参阅