Convert repository to lower case
This commit is contained in:
2
dist/index.js
vendored
2
dist/index.js
vendored
@@ -152,6 +152,8 @@ function getInputs() {
|
|||||||
if (!inputs.repository && process.env['GITHUB_REPOSITORY']) {
|
if (!inputs.repository && process.env['GITHUB_REPOSITORY']) {
|
||||||
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;
|
return inputs;
|
||||||
}
|
}
|
||||||
exports.getInputs = getInputs;
|
exports.getInputs = getInputs;
|
||||||
|
|||||||
@@ -58,6 +58,9 @@ export function getInputs(): Inputs {
|
|||||||
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
|
return inputs
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user