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
* Support docker build --secret flag
* split out buildkit test and run only on GCP
* Update hack/schemas/main.go
Co-authored-by: Brian de Alwis <[email protected]>
* Update hack/schemas/main.go
Co-authored-by: Brian de Alwis <[email protected]>
* add back Destination field and add more tests
* buildkit not currently supported in gcb
* generate schemas
* move secret check into helper method
Co-authored-by: Brian de Alwis <[email protected]>
Copy file name to clipboardExpand all lines: docs/content/en/schemas/v2beta8.json
+37-1
Original file line number
Diff line number
Diff line change
@@ -923,6 +923,11 @@
923
923
"x-intellij-html-description": "used to pass in --no-cache to docker build to prevent caching.",
924
924
"default": "false"
925
925
},
926
+
"secret": {
927
+
"$ref": "#/definitions/DockerSecret",
928
+
"description": "contains information about a local secret passed to `docker build`, along with optional destination information.",
929
+
"x-intellij-html-description": "contains information about a local secret passed to <code>docker build</code>, along with optional destination information."
930
+
},
926
931
"target": {
927
932
"type": "string",
928
933
"description": "Dockerfile target name to build.",
@@ -935,7 +940,8 @@
935
940
"buildArgs",
936
941
"network",
937
942
"cacheFrom",
938
-
"noCache"
943
+
"noCache",
944
+
"secret"
939
945
],
940
946
"additionalProperties": false,
941
947
"description": "describes an artifact built from a Dockerfile, usually using `docker build`.",
@@ -962,6 +968,36 @@
962
968
"description": "contains information about the docker `config.json` to mount.",
963
969
"x-intellij-html-description": "contains information about the docker <code>config.json</code> to mount."
964
970
},
971
+
"DockerSecret": {
972
+
"required": [
973
+
"id"
974
+
],
975
+
"properties": {
976
+
"dst": {
977
+
"type": "string",
978
+
"description": "path in the container to mount the secret.",
979
+
"x-intellij-html-description": "path in the container to mount the secret."
980
+
},
981
+
"id": {
982
+
"type": "string",
983
+
"description": "id of the secret.",
984
+
"x-intellij-html-description": "id of the secret."
985
+
},
986
+
"src": {
987
+
"type": "string",
988
+
"description": "path to the secret on the host machine.",
989
+
"x-intellij-html-description": "path to the secret on the host machine."
990
+
}
991
+
},
992
+
"preferredOrder": [
993
+
"id",
994
+
"src",
995
+
"dst"
996
+
],
997
+
"additionalProperties": false,
998
+
"description": "contains information about a local secret passed to `docker build`, along with optional destination information.",
999
+
"x-intellij-html-description": "contains information about a local secret passed to <code>docker build</code>, along with optional destination information."
0 commit comments