Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[docker compose yml fix]: Duplicate YAML merge keys
(<<)
are now re…
…jected from v2.17.x (#12428) fix: Replace unsupported repeated yaml anchors with merge `docker compose` v2.17.2 fails with the following syntax error due to go/yaml/v3 update. ```sh ❯ docker compose config yaml: unmarshal errors: line 40: mapping key "<<" already defined at line 39 line 40: mapping key "<<" already defined at line 39 line 40: mapping key "<<" already defined at line 39 ``` "goyaml/v3 does not support repeated anchors (due to internal storage using << as key during parsing) but allows use of multi-values in anchors" See: docker/compose#10411 (comment) https://yaml.org/type/merge.html
- Loading branch information