跳到主要内容

Clear Cache with YAML

List of YAML parameters and examples for the \"Clear Cache\" action.

YAML parameters for Clear Cache

名称类型描述
action
必填
StringThe ID of the action.
type
必填
StringThe type of the action. Must be set to CLEAR_CACHE.
cache_types
必填
String[]Defines the cache layer cleared by the action. Available values: DOCKER, FILE_SYSTEM, SERVICES, ADDITIONAL.

YAML example for Compress images

actions:
- action: "Clear cache"
type: "CLEAR_CACHE"
cache_types:
- "DOCKER"
- "FILE_SYSTEM"
- "SERVICES"
- "ADDITIONAL"