From 37b382442ceaac674daec15519b9479b2bf23007 Mon Sep 17 00:00:00 2001 From: eric sciple Date: Thu, 22 Jan 2026 12:13:46 -0800 Subject: [PATCH] Allow empty container options --- src/Sdk/DTPipelines/workflow-v1.0.json | 2 +- src/Sdk/WorkflowParser/workflow-v1.0.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Sdk/DTPipelines/workflow-v1.0.json b/src/Sdk/DTPipelines/workflow-v1.0.json index ec09cfe58..bfd050ed3 100644 --- a/src/Sdk/DTPipelines/workflow-v1.0.json +++ b/src/Sdk/DTPipelines/workflow-v1.0.json @@ -421,7 +421,7 @@ "mapping": { "properties": { "image": "string", - "options": "non-empty-string", + "options": "string", "env": "container-env", "ports": "sequence-of-non-empty-string", "volumes": "sequence-of-non-empty-string", diff --git a/src/Sdk/WorkflowParser/workflow-v1.0.json b/src/Sdk/WorkflowParser/workflow-v1.0.json index a2d9ed7c9..01601dcb5 100644 --- a/src/Sdk/WorkflowParser/workflow-v1.0.json +++ b/src/Sdk/WorkflowParser/workflow-v1.0.json @@ -2593,7 +2593,7 @@ "description": "Use `jobs..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." }, "options": { - "type": "non-empty-string", + "type": "string", "description": "Use `jobs..container.options` to configure additional Docker container resource options." }, "env": "container-env",