Add secrets to docker yaml formatter
All checks were successful
build docker image / docker-build (push) Successful in 2m48s

This commit is contained in:
2025-01-30 15:53:16 +02:00
parent 4213120218
commit fc85c23306

View File

@ -60,6 +60,7 @@ import { parse, stringify } from "yaml";
const orderFirst = [
// root
"version",
"secrets",
"services",
// other
@ -67,14 +68,14 @@ const orderFirst = [
"restart",
"environment",
"ports",
"volumes"
"volumes",
// ... other keys to appear first
];
const orderLast = [
"image",
"container_name",
"command"
"command",
// ... other keys to appear last
];