Skip to content

Commit 5d4fb30

Browse files
authored
Allow empty container options (actions#4208)
1 parent 1df72a5 commit 5d4fb30

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/Sdk/DTPipelines/workflow-v1.0.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -421,7 +421,7 @@
421421
"mapping": {
422422
"properties": {
423423
"image": "string",
424-
"options": "non-empty-string",
424+
"options": "string",
425425
"env": "container-env",
426426
"ports": "sequence-of-non-empty-string",
427427
"volumes": "sequence-of-non-empty-string",

src/Sdk/WorkflowParser/workflow-v1.0.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2593,7 +2593,7 @@
25932593
"description": "Use `jobs.<job_id>.container.image` to define the Docker image to use as the container to run the action. The value can be the Docker Hub image or a registry name."
25942594
},
25952595
"options": {
2596-
"type": "non-empty-string",
2596+
"type": "string",
25972597
"description": "Use `jobs.<job_id>.container.options` to configure additional Docker container resource options."
25982598
},
25992599
"env": "container-env",

0 commit comments

Comments
 (0)