New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Incorrect IAM permissions in the starter workflow #423
Comments
Hi there - could you please provide the debug output for the complete GitHub Actions workflow run? |
Good call. I've enabled the debug output and downloaded the logs. Available here. It looks like this is the specific error:
Although I've followed the instructions in the template and both enabled and set permissions for Cloud Run, Cloud Build, Cloud Storage and Artifact Registry. I've followed that error message and added the
The error remains after just trying a re-run. |
I've figured out the problem. Once again it's misleading info in the workflow template. The template comments mention the following permissions:
However I've tested and can confirm it's working with the Storage Admin role. |
@verbanicm can you take a look at updating the starter workflows? This came up again in a usability study. |
TL;DR
Deployment fails when deploying to Cloud Run from source with using the default template.
Expected behavior
Successful deploy
Observed behavior
Failure to deploy with the following error message:
The name of my service has been replaced with
MY-SERVICE
Action YAML
Log output
No response
Additional information
Steps followed:
I'm looking to use my own Dockerfile in
./src/
. I've updated thesource
parameter accordingly:source: ./src/
.I've also tried removing the trailing slash. This results in the same error.
I've used a different service name to ensure it's unique and the error is the same.
The text was updated successfully, but these errors were encountered: