Skip to content

Commit

Permalink
improve json-schema with pattern for image
Browse files Browse the repository at this point in the history
Signed-off-by: Simon L <[email protected]>
  • Loading branch information
szaimen committed Sep 27, 2023
1 parent 810bfa1 commit d9ec367
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion php/containers-schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@
"properties": {
"image": {
"type": "string",
"minLength": 1
"minLength": 1,
"pattern": "^[a-z0-9/-]+$"
},
"expose": {
"type": "array",
Expand Down

0 comments on commit d9ec367

Please sign in to comment.