cli/compose: add schema 3.13 (no changes from 3.12 yet)

Signed-off-by: Rob Murray <rob.murray@docker.com>
This commit is contained in:
Rob Murray
2024-06-07 09:05:56 +01:00
parent 9b61bbb652
commit a731722652
8 changed files with 681 additions and 7 deletions

View File

@ -1,4 +1,4 @@
version: "3.12"
version: "3.13"
services:
foo:

View File

@ -11,7 +11,7 @@ import (
func fullExampleConfig(workingDir, homeDir string) *types.Config {
return &types.Config{
Version: "3.12",
Version: "3.13",
Services: services(workingDir, homeDir),
Networks: networks(),
Volumes: volumes(),

View File

@ -184,7 +184,7 @@ func strPtr(val string) *string {
}
var sampleConfig = types.Config{
Version: "3.12",
Version: "3.13",
Services: []types.ServiceConfig{
{
Name: "foo",

View File

@ -509,7 +509,7 @@
"working_dir": "/code"
}
},
"version": "3.12",
"version": "3.13",
"volumes": {
"another-volume": {
"name": "user_specified_name",

View File

@ -1,4 +1,4 @@
version: "3.12"
version: "3.13"
services:
foo:
build: