diff --git a/dist/index.js b/dist/index.js index 697f3a6..bcb71fa 100644 --- a/dist/index.js +++ b/dist/index.js @@ -152,6 +152,8 @@ function getInputs() { if (!inputs.repository && process.env['GITHUB_REPOSITORY']) { inputs.repository = process.env['GITHUB_REPOSITORY']; } + // Docker repositories must be all lower case + inputs.repository = inputs.repository.toLowerCase(); return inputs; } exports.getInputs = getInputs; diff --git a/src/input-helper.ts b/src/input-helper.ts index f4c5997..dd79412 100644 --- a/src/input-helper.ts +++ b/src/input-helper.ts @@ -58,6 +58,9 @@ export function getInputs(): Inputs { inputs.repository = process.env['GITHUB_REPOSITORY'] } + // Docker repositories must be all lower case + inputs.repository = inputs.repository.toLowerCase() + return inputs }