diff --git a/ts/pulumi/bazel_rce/index.ts b/ts/pulumi/bazel_rce/index.ts index 8bfbdd43..2c587459 100644 --- a/ts/pulumi/bazel_rce/index.ts +++ b/ts/pulumi/bazel_rce/index.ts @@ -52,7 +52,6 @@ interface DockerFileParams { } const password_file_name = '.htpasswd'; -const monorepo_github_name = 'zemn-me/monorepo'; function DockerFile(params: DockerFileParams) { return ` @@ -383,7 +382,7 @@ export class BazelRemoteCache extends Pulumi.ComponentResource { `${name}_actions_secret_cache_url`, { plaintextValue: Pulumi.interpolate`https://${username.result}:${password.result}@${record.name}`, - repository: `${monorepo_github_name}`, // error: GET https://api.github.com/repos//zemn-me/monorepo/actions/secrets/public-key: 404 Not Found [] + repository: 'monorepo', // error: GET https://api.github.com/repos//zemn-me/monorepo/actions/secrets/public-key: 404 Not Found [] // ^ secretName: `BAZEL_REMOTE_CACHE_URL${ args.stage ? '_staging' : '' diff --git a/ts/pulumi/stack.ts b/ts/pulumi/stack.ts index ab358254..b112db01 100644 --- a/ts/pulumi/stack.ts +++ b/ts/pulumi/stack.ts @@ -15,6 +15,9 @@ process.env.PATH = [ pulumi_dir, ].join(':'); +// for the github plugin +process.env['GITHUB_OWNER'] = 'zemn-me'; + // check the binary is actually in there if (!fs.existsSync(pulumi_binary_path)) { throw new Error('missing pulumi binary in ' + pulumi_dir);