balena.yml version is not working at all

balena version
22.4.1
tree -a -L 2
.
├── .balena
│   ├── balena.template.yml
│   ├── balena.yml
│   ├── secrets
│   └── secrets.yml
├── .dockerignore
├── .gitignore
├── .img
│   └── img.png
├── docker-compose.yml
├── Makefile
├── README.md
└── services
    ├── ntp
    ├── s2
    ├── s3
    ├── s4
    └── s5
cat .balena/balena.yml

name: MyApp
type: sw.application
version: 0.0.1
build-secrets:
  global:
    - source: one/dir
      dest: another/dir
build-variables:
  global:
    - ENV=canary
  s2:
    - TOKEN=eeeeeeee-dddd-cccc-ffff-000000000000
balena push the-org/the-fleet --nocache --source . --detached --note "\[ctx\] #1234 -- working"

So the issue seems to be the location of the balena.yml.

As mentioned earlier the balena.yml file needs to be located in the root of the project repository in order to be picked up by our builders. Can you try moving it one level higher, outside the .balena folder and next to it and try pushing again?

2 Likes