gcloud deploy could not access release config file [release.yaml]: Unable to read file [release.yaml]: [Errno 2] No such file or directory: 'release.yaml'
Bump into this error when running gcloud deploy releases command.
gcloud deploy releases create test-release-001
--project=project-xxxx --region=us-central1
--delivery-pipeline=my-run-demo-app-1
--images=my-app-image=us-docker.pkg.dev/cloudrun/container/hello@sha256:95ade4b17adcd07623b0a0c68359e344fe54e65d0cb01b989e24c39f2fcd296a
could not access release config file [release.yaml]: Unable to read file [release.yaml]: [Errno 2] No such file or directory: 'release.yaml'
Then I was able to figure out what is wrong - you are probably in a wrong folder where you might be missing skaffold.yaml or clouddeploy.yaml.
Comments