While building the docker image I have the following error
cat: run/secrets/my_token: No such file or directory
When I run the RUN cat run/secrets/my_token | ...
in my Dockerfile
.
I have the following directory inside .balena
folder.
.
├── balena.yml
└── secrets
└── secret_token
and balena.yml
has the following content:
build-secrets:
global:
- source: secret_token
dest: my_token
I followed the documentation %100 as I could understand. I don’t know why I still have the problem and there is not any discussion about this on the web.