How can I restart a cloud foundry docker app from a private repository?
I'm using gitlab ci to deploy to cloud foundry.
The docker images are stored in gitlab's docker registry and I authenticated with a password provided by gitlab during the build ($CI_REGISTRY_PASSWORD
).
As it turns out, this is only a temporary password and is no longer valid when cloud foundry attempts to restart an application. I'm using a personal access token instead of the provided login and now it works perfectly.