mirror of
https://github.com/docker/build-push-action.git
synced 2025-06-28 15:26:42 +02:00
summary: skip secrets in build inputs
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
This commit is contained in:
parent
84ad562665
commit
44125d12a0
2 changed files with 2 additions and 9 deletions
|
@ -84,7 +84,7 @@ export async function getInputs(): Promise<Inputs> {
|
|||
export function sanitizeInputs(inputs: Inputs) {
|
||||
const res = {};
|
||||
for (const key of Object.keys(inputs)) {
|
||||
if (key === 'github-token') {
|
||||
if (key === 'secrets' || key === 'github-token') {
|
||||
continue;
|
||||
}
|
||||
const value: string | string[] | boolean = inputs[key];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue