Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
frostebite committed Dec 22, 2023
1 parent 3733938 commit 5206ee7
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/cloud-runner-ci-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down Expand Up @@ -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'
Expand Down
2 changes: 1 addition & 1 deletion dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions src/model/cloud-runner/tests/cloud-runner-image.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
});
2 changes: 1 addition & 1 deletion src/model/input.ts
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ class Input {
}

static get containerRegistryImageVersion(): string {
return Input.getInput('containerRegistryImageVersion')!;
return Input.getInput('containerRegistryImageVersion') || '3';
}

public static ToEnvVarFormat(input: string) {
Expand Down

0 comments on commit 5206ee7

Please sign in to comment.