Fix github workflow permission #3
build-and-deploy.yaml
on: push
next-app
/
Test and lint
24s
next-app
/
Build for demo
1m 0s
next-app
/
Build for dev
1m 10s
next-app
/
Build for prod
1m 8s
next-app
/
Deploy branch to demo
0s
next-app
/
Deploy main to demo
0s
next-app
/
Deploy to dev
0s
next-app
/
Deploy to prod
0s
Annotations
7 errors and 24 warnings
next-app / Test and lint
Process completed with exit code 1.
|
next-app / Build for demo
google-github-actions/auth failed with: retry function failed after 1 attempt: failed to generate Google Cloud access token for [email protected]: (403) {
"error": {
"code": 403,
"message": "Permission 'iam.serviceAccounts.getAccessToken' denied on resource (or it may not exist).",
"status": "PERMISSION_DENIED",
"details": [
{
"@type": "type.googleapis.com/google.rpc.ErrorInfo",
"reason": "IAM_PERMISSION_DENIED",
"domain": "iam.googleapis.com",
"metadata": {
"permission": "iam.serviceAccounts.getAccessToken"
}
}
]
}
}
|
next-app / Build for demo
Failed to authenticate to Google Cloud.
|
next-app / Build for dev
google-github-actions/auth failed with: retry function failed after 1 attempt: failed to generate Google Cloud access token for [email protected]: (403) {
"error": {
"code": 403,
"message": "Permission 'iam.serviceAccounts.getAccessToken' denied on resource (or it may not exist).",
"status": "PERMISSION_DENIED",
"details": [
{
"@type": "type.googleapis.com/google.rpc.ErrorInfo",
"reason": "IAM_PERMISSION_DENIED",
"domain": "iam.googleapis.com",
"metadata": {
"permission": "iam.serviceAccounts.getAccessToken"
}
}
]
}
}
|
next-app / Build for dev
Failed to authenticate to Google Cloud.
|
next-app / Build for prod
google-github-actions/auth failed with: retry function failed after 1 attempt: failed to generate Google Cloud access token for [email protected]: (403) {
"error": {
"code": 403,
"message": "Permission 'iam.serviceAccounts.getAccessToken' denied on resource (or it may not exist).",
"status": "PERMISSION_DENIED",
"details": [
{
"@type": "type.googleapis.com/google.rpc.ErrorInfo",
"reason": "IAM_PERMISSION_DENIED",
"domain": "iam.googleapis.com",
"metadata": {
"permission": "iam.serviceAccounts.getAccessToken"
}
}
]
}
}
|
next-app / Build for prod
Failed to authenticate to Google Cloud.
|
next-app / Build for demo
Overwriting existing environment variable CLOUDSDK_AUTH_CREDENTIAL_FILE_OVERRIDE (was: "/home/runner/work/aktivitetskrav-frontend/aktivitetskrav-frontend/gha-creds-9538991f680e154f.json")
|
next-app / Build for demo
Overwriting existing environment variable GOOGLE_APPLICATION_CREDENTIALS (was: "/home/runner/work/aktivitetskrav-frontend/aktivitetskrav-frontend/gha-creds-9538991f680e154f.json")
|
next-app / Build for demo
Overwriting existing environment variable GOOGLE_GHA_CREDS_PATH (was: "/home/runner/work/aktivitetskrav-frontend/aktivitetskrav-frontend/gha-creds-9538991f680e154f.json")
|
next-app / Build for demo
Overwriting existing environment variable CLOUDSDK_CORE_PROJECT (was: "frontendplattform-prod-55b3")
|
next-app / Build for demo
Overwriting existing environment variable CLOUDSDK_PROJECT (was: "frontendplattform-prod-55b3")
|
next-app / Build for demo
Overwriting existing environment variable GCLOUD_PROJECT (was: "frontendplattform-prod-55b3")
|
next-app / Build for demo
Overwriting existing environment variable GCP_PROJECT (was: "frontendplattform-prod-55b3")
|
next-app / Build for demo
Overwriting existing environment variable GOOGLE_CLOUD_PROJECT (was: "frontendplattform-prod-55b3")
|
next-app / Build for dev
Overwriting existing environment variable CLOUDSDK_AUTH_CREDENTIAL_FILE_OVERRIDE (was: "/home/runner/work/aktivitetskrav-frontend/aktivitetskrav-frontend/gha-creds-669126ae66d0fd1e.json")
|
next-app / Build for dev
Overwriting existing environment variable GOOGLE_APPLICATION_CREDENTIALS (was: "/home/runner/work/aktivitetskrav-frontend/aktivitetskrav-frontend/gha-creds-669126ae66d0fd1e.json")
|
next-app / Build for dev
Overwriting existing environment variable GOOGLE_GHA_CREDS_PATH (was: "/home/runner/work/aktivitetskrav-frontend/aktivitetskrav-frontend/gha-creds-669126ae66d0fd1e.json")
|
next-app / Build for dev
Overwriting existing environment variable CLOUDSDK_CORE_PROJECT (was: "frontendplattform-prod-55b3")
|
next-app / Build for dev
Overwriting existing environment variable CLOUDSDK_PROJECT (was: "frontendplattform-prod-55b3")
|
next-app / Build for dev
Overwriting existing environment variable GCLOUD_PROJECT (was: "frontendplattform-prod-55b3")
|
next-app / Build for dev
Overwriting existing environment variable GCP_PROJECT (was: "frontendplattform-prod-55b3")
|
next-app / Build for dev
Overwriting existing environment variable GOOGLE_CLOUD_PROJECT (was: "frontendplattform-prod-55b3")
|
next-app / Build for prod
Overwriting existing environment variable CLOUDSDK_AUTH_CREDENTIAL_FILE_OVERRIDE (was: "/home/runner/work/aktivitetskrav-frontend/aktivitetskrav-frontend/gha-creds-d0d22b1a3dd264cd.json")
|
next-app / Build for prod
Overwriting existing environment variable GOOGLE_APPLICATION_CREDENTIALS (was: "/home/runner/work/aktivitetskrav-frontend/aktivitetskrav-frontend/gha-creds-d0d22b1a3dd264cd.json")
|
next-app / Build for prod
Overwriting existing environment variable GOOGLE_GHA_CREDS_PATH (was: "/home/runner/work/aktivitetskrav-frontend/aktivitetskrav-frontend/gha-creds-d0d22b1a3dd264cd.json")
|
next-app / Build for prod
Overwriting existing environment variable CLOUDSDK_CORE_PROJECT (was: "frontendplattform-prod-55b3")
|
next-app / Build for prod
Overwriting existing environment variable CLOUDSDK_PROJECT (was: "frontendplattform-prod-55b3")
|
next-app / Build for prod
Overwriting existing environment variable GCLOUD_PROJECT (was: "frontendplattform-prod-55b3")
|
next-app / Build for prod
Overwriting existing environment variable GCP_PROJECT (was: "frontendplattform-prod-55b3")
|
next-app / Build for prod
Overwriting existing environment variable GOOGLE_CLOUD_PROJECT (was: "frontendplattform-prod-55b3")
|