You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Auth config for image registries; same format as a docker config.json
9
-
10
-
Note that when using docker and a credential helper (e.g. the default with macOS docker desktop) ~/.docker/config.json will not directly contain credentials. If you need to provide auth in this case, you'll need to generate a configuration file with base64 encoded credentials. See https://github.com/docker/for-mac/issues/4100 for more discussion on the format of this file.
11
-
constraints:
12
-
properties:
13
-
auths:
14
-
type: object
15
-
description: |
16
-
Keys are registry hostname/urls and values contain authentication information
17
-
additionalProperties:
18
-
type: object
19
-
properties:
20
-
auth:
21
-
description: Base64 encoded string of the format `{username}:{password}`
22
-
type: string
23
-
format: base64
24
-
cacheDir:
9
+
creds for image registries e.g. `["username": "xx", "password": "yy", "registry": "https://index.docker.io/v1/"]`
10
+
constraints:
11
+
items:
12
+
type: object
13
+
properties:
14
+
username:
15
+
type: string
16
+
password:
17
+
type: string
18
+
registry:
19
+
type: string
20
+
cache:
25
21
dir:
26
22
default: /default_cache
27
-
description: directory used to cache images/layers across runs. Must be formatted as an [image-layout](https://github.com/opencontainers/image-spec/blob/v1.0.1/image-layout.md)
23
+
description: Directory used to cache images/layers across runs. Must be formatted as an [image-layout](https://github.com/opencontainers/image-spec/blob/v1.0.1/image-layout.md)
28
24
context:
29
25
dir:
30
-
description: context for build
26
+
description: Context for build
31
27
default: /default_context
32
28
contextIgnore:
33
29
file:
34
-
description: context ignore rules in the format of a .gitignore/.dockerignore
30
+
description: Context ignore rules in the format of a .gitignore/.dockerignore
35
31
default: /default_context_ignore
36
32
instructions:
37
33
file:
38
-
description: build instructions in the format of a Containerfile/Dockerfile
34
+
description: Build instructions in the format of a Containerfile/Dockerfile
35
+
isPushEnabled:
36
+
boolean:
37
+
default: false
38
+
description: Whether to push the named images (to remote registries) after they're created
39
+
namesCsv:
40
+
string:
41
+
default: ''
42
+
description: |
43
+
Names the image will be tagged with in the form of comma separated "[registry/][username/][repository/][:tag]"
44
+
45
+
e.g. 'docker.io/my-org-name/my-repo-name:my-image-tag'
39
46
platformsCsv:
40
47
string:
41
48
default: ''
@@ -49,35 +56,33 @@ outputs:
49
56
dir:
50
57
description: image in form of [v1.0.1 OCI (Open Container Initiative) `image-layout`](https://github.com/opencontainers/image-spec/blob/v1.0.1/image-layout.md)
0 commit comments