mirror of
https://github.com/docker/build-push-action.git
synced 2025-04-19 18:06:46 +00:00
Merge remote-tracking branch 'upstream/master' into fix-parse-secret-containing-equal-character
# Conflicts: # __tests__/buildx.test.ts
This commit is contained in:
commit
c8e09bfd16
7 changed files with 143 additions and 5 deletions
7
src/docker.ts
Normal file
7
src/docker.ts
Normal file
|
@ -0,0 +1,7 @@
|
|||
import * as exec from './exec';
|
||||
|
||||
export async function isDaemonRunning(): Promise<boolean> {
|
||||
return await exec.exec(`docker`, ['version', '--format', '{{.Server.Os}}'], true).then(res => {
|
||||
return !res.stdout.includes(' ') && res.success;
|
||||
});
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue