Skip to content

Commit 7de863c

Browse files
authored
feat: detect google cloud run / job (#161)
1 parent 2ce0b13 commit 7de863c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/providers.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ export type ProviderName =
1919
| "cirrus"
2020
| "cloudflare_pages"
2121
| "cloudflare_workers"
22+
| "google_cloudrun"
23+
| "google_cloudrun_job"
2224
| "codebuild"
2325
| "codefresh"
2426
| "drone"
@@ -75,6 +77,8 @@ const providers: InternalProvider[] = [
7577
["CIRRUS", "CIRRUS_CI"],
7678
["CLOUDFLARE_PAGES", "CF_PAGES", { ci: true }],
7779
["CLOUDFLARE_WORKERS", "WORKERS_CI", { ci: true }],
80+
["GOOGLE_CLOUDRUN", "K_SERVICE"],
81+
["GOOGLE_CLOUDRUN_JOB", "CLOUD_RUN_JOB"],
7882
["CODEBUILD", "CODEBUILD_BUILD_ARN"],
7983
["CODEFRESH", "CF_BUILD_ID"],
8084
["DRONE"],

0 commit comments

Comments
 (0)