Reputation: 133
I am having an error when I try pushing my app to cloud foundry. The manifest.yml file is the right format and also referenced it with that given as an example on the ibm forum but I get this error which doesn't add up in my opinion. What am I doing wrong here? Anybody to help out please?
Error
yaml: unmarshal errors:
line 2: cannot unmarshal !!str https:/...
into []string
Upvotes: 2
Views: 6772
Reputation: 133
I finally got an answer for this from someone else Unable to deploy to SAP Cloud foundry
My error was because I was writing buildpacks and giving it a value of a string url instead of an array. Once I enclosed it inside an array, it worked fine. This is because IBM cloudfoundry recently changed from using buildpack to buildpacks which meant using an array instead of a single url string.
Upvotes: 3