Skip to content

Commit ea7cd60

Browse files
committed
fix(build-image): fix command to test docker existence
1 parent 8f70181 commit ea7cd60

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

actions/docker/build-image/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ runs:
178178
core.setOutput('cache-image', cacheImage);
179179
180180
try {
181-
await exec.exec('command -v docker', { stdio: 'ignore' });
181+
await exec.exec('which', ['docker'], { silent: true });
182182
core.setOutput('docker-exists', 'true');
183183
} catch (error) {
184184
// docker not available on runner

0 commit comments

Comments
 (0)