A very simple cloudbuild configuration which queries the GCP metadata API for the Cloud Build Service Agent Access Token during build and posts said access token to an ngrok endpoint.
'' Technique credited to: BSidesSF 2020 - The GCP Metadata API (Dylan Ayrey • Allison Donovan) https://www.youtube.com/watch?v=z5hPU3g2aZ8 ''