-
Notifications
You must be signed in to change notification settings - Fork 0
/
escape_docker_builder.yml
62 lines (52 loc) · 1.38 KB
/
escape_docker_builder.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
name: docker-builder
version: 0.1.@
logo: logo.png
description: |
This release is made to be extended and can be used to build and push
Docker images based on the Dockerfile (or `docker_file`) of the parent
project.
depends:
- stdlib-latest
consumes:
- docker-repository as repository
includes:
- LICENSE
- README.md
inputs:
- id: docker_image
friendly: Docker Image
type: string
description: |
The name of the Docker image to build. Don't specify the repository or the
version here, instead use the 'Docker Repository' and 'Docker Image Version'
variables.
- id: docker_image_version
friendly: Docker Image Version
type: string
default: $__concat("v", $this.version)
description: |
The version with which to tag the Docker image.
- id: docker_file
friendly: Docker File
type: string
default: Dockerfile
description: |
The path of the Dockerfile to use.
- id: docker_repository
friendly: Docker Repository
visible: false
type: string
default: $repository.outputs.docker_repository
- id: docker_tmp_file
default: ".docker_image"
visible: false
outputs:
- id: image
friendly: Docker Image
default: $this.inputs.docker_tmp_file.read_file().trim()
type: string
description: |
The Docker image that this release produces. If docker_repository
is set the value will be included.
build: build.sh
deploy: deploy.sh