diff --git a/dist/index.js b/dist/index.js index 56cdf0c..c5f76cc 100644 --- a/dist/index.js +++ b/dist/index.js @@ -57,6 +57,9 @@ function run() { core.endGroup(); return; } + core.startGroup(`Pulling chocolatey Docker image`); + yield exec.exec('docker', ['pull', image]); + core.endGroup(); core.startGroup('Running choco'); fs.writeFileSync('/tmp/env.txt', child_process.execSync(`env`, { encoding: 'utf8' }).trim()); yield exec.exec('docker', [ diff --git a/src/main.ts b/src/main.ts index 4d023fc..5c63dea 100644 --- a/src/main.ts +++ b/src/main.ts @@ -22,6 +22,10 @@ async function run() { return; } + core.startGroup(`Pulling chocolatey Docker image`); + await exec.exec('docker', ['pull', image]); + core.endGroup(); + core.startGroup('Running choco'); fs.writeFileSync('/tmp/env.txt', child_process.execSync(`env`, {encoding: 'utf8'}).trim()); await exec.exec('docker', [