diff --git a/.github/workflows/cloud-runner-ci-pipeline.yml b/.github/workflows/cloud-runner-ci-pipeline.yml index e90bc87b..094d3eaa 100644 --- a/.github/workflows/cloud-runner-ci-pipeline.yml +++ b/.github/workflows/cloud-runner-ci-pipeline.yml @@ -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' diff --git a/dist/index.js b/dist/index.js index 7a4d5227..4ba4dab1 100644 Binary files a/dist/index.js and b/dist/index.js differ diff --git a/dist/index.js.map b/dist/index.js.map index 00f136a9..7ffae930 100644 Binary files a/dist/index.js.map and b/dist/index.js.map differ diff --git a/src/model/cloud-runner/tests/cloud-runner-image.test.ts b/src/model/cloud-runner/tests/cloud-runner-image.test.ts index 158f7c1f..0a2b4575 100644 --- a/src/model/cloud-runner/tests/cloud-runner-image.test.ts +++ b/src/model/cloud-runner/tests/cloud-runner-image.test.ts @@ -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); }); diff --git a/src/model/input.ts b/src/model/input.ts index c5ca4274..4d2ea09f 100644 --- a/src/model/input.ts +++ b/src/model/input.ts @@ -265,7 +265,7 @@ class Input { } static get containerRegistryImageVersion(): string { - return Input.getInput('containerRegistryImageVersion')!; + return Input.getInput('containerRegistryImageVersion') || '3'; } public static ToEnvVarFormat(input: string) {