Skip to content

Commit

Permalink
Update project name pattern in JSON schema
Browse files Browse the repository at this point in the history
This update landed in compose-spec/compose-spec#314, reflecting the new
project name spec:

> Project name MUST contain only lowercase letters, decimal digits,
> dashes, and underscores, and MUST begin with a lowercase letter or
> decimal digit.

Signed-off-by: Mike Bland <mbland@acm.org>
  • Loading branch information
mbland committed Mar 3, 2023
1 parent a5e535f commit 226dd79
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions schema/compose-spec.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@

"name": {
"type": "string",
"pattern": "^[a-z0-9][a-z0-9_-]*$",
"description": "define the Compose project name, until user defines one explicitly."
},

Expand Down

0 comments on commit 226dd79

Please sign in to comment.