asset/schema/task-build.yaml
---
definitions:
stringOrList:
oneOf:
- type: string
- type: array
items:
type: string
type: object
properties:
type:
type: string
enum:
- build
extends:
type: string
environment:
$ref: '#/definitions/stringOrList'
required-environment:
type: array
items:
type: string
dockerfile:
type: string
target:
type: string
tags:
$ref: '#/definitions/stringOrList'
labels:
$ref: '#/definitions/stringOrList'
additionalProperties: false