diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml index 1490f176a0af..95b6ba2743e4 100644 --- a/.github/workflows/validate.yml +++ b/.github/workflows/validate.yml @@ -33,9 +33,7 @@ jobs: script: | const printEnv = Object.assign({}, process.env, { GOLANGCI_LINT_MULTIPLATFORM: process.env.GITHUB_REPOSITORY === 'docker/buildx' ? '1' : '' - }) as { - [key: string]: string; - }; + }); const resPrint = await exec.getExecOutput('docker', ['buildx', 'bake', 'validate', '--print'], { ignoreReturnCode: true, env: printEnv