I am able to Bake the image successfully but the Deploy stage fails. I checked in GCP Log Viewer and got below error
Required ‘compute.images.useReadOnly’ permission for ‘projects/production/global/images/nano-all-20180713062334-xenial’
My image is created in another Google Project and the deployment is in another project. So I gave Owner permission to both members from both account. Still getting same error. The Spinnaker instance is running in third project.
It works fine when I Bake the image in same account (Google project) where the deployment happens.
I checked the Google logs in detail and found that the Google API call from Spinnaker is not sending authenticationInfo value for deployment. In both cases whether Bake is done in same account or different.