v1.0.0 of GitHub Action #650
Annotations
1 error
Test Action
google-github-actions/deploy-cloudrun failed with: failed to execute gcloud command `gcloud run deploy joggr-previews-example-pr368 --quiet --image us-docker.pkg.dev/durable-primacy-268722/joggr/previews-example:f1f6485554c144f2a0ff7bb830ca95d1353c9c8c --update-env-vars MESSAGE="Hello via ENV Vars" --update-secrets SECRET_MESSAGE=secret_message:latest --update-labels managed-by=github-actions,commit-sha=f1f6485554c144f2a0ff7bb830ca95d1353c9c8c,group=joggr,service=previews-example,pull_request=pr368 --platform managed --format json --region us-central1 --allow-unauthenticated --port 3000 --service-account [email protected]`: Deploying container to Cloud Run service [joggr-previews-example-pr368] in project [durable-primacy-268722] region [us-central1]
Deploying...
Setting IAM Policy.............done
Creating Revision.......failed
Deployment failed
ERROR: (gcloud.run.deploy) Revision 'joggr-previews-example-pr368-00009-clq' is not ready and cannot serve traffic. spec.template.spec.containers[0].env[1].value_from.secret_key_ref.name: Permission denied on secret: projects/744100464390/secrets/secret_message/versions/latest for Revision service account [email protected]. The service account used must be granted the 'Secret Manager Secret Accessor' role (roles/secretmanager.secretAccessor) at the secret, project or higher level.
|