Format json & yaml in README
@@ -209,7 +209,8 @@ echo -e 'FROM alpine \nRUN echo "created from standard input"' > Dockerfile | ta
"args": [
"--dockerfile=Dockerfile",
"--context=tar://stdin",
- "--destination=gcr.io/my-repo/my-image" ],
+ "--destination=gcr.io/my-repo/my-image"
+ ],
"volumeMounts": [
{
"name": "cabundle",
@@ -218,17 +219,23 @@ echo -e 'FROM alpine \nRUN echo "created from standard input"' > Dockerfile | ta
{
"name": "docker-config",
"mountPath": "/kaniko/.docker/"
- }]
- }],
+ }
+ ]
+ }
+ ],
"volumes": [
{
"name": "cabundle",
"configMap": {
- "name": "cabundle"}},
+ "name": "cabundle"
+ }
+ },
{
"name": "docker-config",
"configMap": {
- "name": "docker-config" }}
+ "name": "docker-config"
+ }
+ }
]
}
}'
@@ -278,9 +285,10 @@ spec:
containers:
- name: kaniko
image: gcr.io/kaniko-project/executor:latest
- args: ["--dockerfile=<path to Dockerfile within the build context>",
- "--context=gs://<GCS bucket>/<path to .tar.gz>",
- "--destination=<gcr.io/$PROJECT/$IMAGE:$TAG>"]
+ args:
+ - "--dockerfile=<path to Dockerfile within the build context>"
+ - "--context=gs://<GCS bucket>/<path to .tar.gz>"
+ - "--destination=<gcr.io/$PROJECT/$IMAGE:$TAG>"
volumeMounts:
- name: kaniko-secret
mountPath: /secret
@@ -459,9 +467,10 @@ spec:
containers:
- name: kaniko
image: gcr.io/kaniko-project/executor:latest
- args: ["--dockerfile=<path to Dockerfile within the build context>",
- "--context=s3://<bucket name>/<path to .tar.gz>",
- "--destination=<aws_account_id.dkr.ecr.region.amazonaws.com/my-repository:my-tag>"]
+ args:
+ - "--dockerfile=<path to Dockerfile within the build context>"
+ - "--context=s3://<bucket name>/<path to .tar.gz>"
+ - "--destination=<aws_account_id.dkr.ecr.region.amazonaws.com/my-repository:my-tag>"
volumeMounts:
- name: docker-config
mountPath: /kaniko/.docker/
