-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathaction.yml
51 lines (50 loc) · 1.43 KB
/
action.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
name: 'Okteto Build'
description: 'Build an image from a Dockerfile using Okteto Cloud'
inputs:
tag:
description: 'Name and tag for the image in the "name:tag" format'
required: false
file:
description: 'Name of the file for the Okteto Manifest or Dockerfile.'
required: false
path:
description: 'Path where the build is run.'
required: false
buildargs:
description: 'Use buildargs when you want to pass a list of environment variables as build-args'
required: false
no-cache:
description: 'Do not use cache when building the image'
required: false
cache-from:
description: 'List of cache source images'
required: false
export-cache:
description: 'List of exported cache images'
required: false
secrets:
description: 'Secret files exposed to the build. Format: id=mysecret,src=/local/secret'
required: false
platform:
description: 'Set target platform for build'
required: false
log-level:
description: "Log level string. Valid options are debug, info, warn, error"
required: false
runs:
using: 'docker'
image: 'Dockerfile'
args:
- ${{ inputs.tag }}
- ${{ inputs.file }}
- ${{ inputs.path }}
- ${{ inputs.buildargs }}
- ${{ inputs.no-cache }}
- ${{ inputs.cache-from }}
- ${{ inputs.export-cache }}
- ${{ inputs.secrets }}
- ${{ inputs.platform }}
- ${{ inputs.log-level }}
branding:
color: 'green'
icon: 'layers'