Your jobs.include has an extra element in the array because you have a - in front of the name line you added.
What you want is:
jobs:
include:
- stage: "Test"
name: "Secondary tests"
⋮
- stage: "Docker build & push"
name: "Build & publish Docker images"
⋮