I am trying to deploy an java spring application on app engine with multiple versions. I am using docker images to deploy the app. I want to create a single app.yaml file in which I can define my both versions of the application and run them from a single file.
I am not able to understand how to write app.yaml for both version in a single file. Currently my yaml file looks like:
runtime: java
api_version: '1.0'
env: flexible
threadsafe: true
Now how to add the second version details in the same yaml and deploy both simultaneously.