This commit is contained in:
Frostebite 2023-12-22 02:55:08 +00:00
parent 37339385bd
commit 5206ee7a3c
5 changed files with 6 additions and 3 deletions

View File

@ -45,6 +45,7 @@ jobs:
- 'cloud-runner-remote-client'
- 'cloud-runner-caching'
- 'cloud-runner-environment'
- 'cloud-runner-image'
- 'cloud-runner-hooks'
- 'cloud-runner-local-persistence'
- 'cloud-runner-locking-core'
@ -76,8 +77,7 @@ jobs:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
GIT_PRIVATE_TOKEN: ${{ secrets.GIT_PRIVATE_TOKEN }}
GITHUB_TOKEN:
${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
k8sTests:
name: K8s Tests
if: github.event.event_type != 'pull_request_target'

BIN
dist/index.js generated vendored

Binary file not shown.

BIN
dist/index.js.map generated vendored

Binary file not shown.

View File

@ -44,5 +44,8 @@ describe('Cloud Runner Image', () => {
if (baseImage.toString().includes('undefined')) {
throw new Error(`Base image ${baseImage.toString()} includes undefined`);
}
if (baseImage.toString().includes('NaN')) {
throw new Error(`Base image ${baseImage.toString()} includes nan`);
}
}, 1_000_000_000);
});

View File

@ -265,7 +265,7 @@ class Input {
}
static get containerRegistryImageVersion(): string {
return Input.getInput('containerRegistryImageVersion')!;
return Input.getInput('containerRegistryImageVersion') || '3';
}
public static ToEnvVarFormat(input: string) {