Skip to content

Commit dc9d22f

Browse files
authored
Update setup-docker.js
1 parent 6b77c1d commit dc9d22f

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

lib/setup-docker.js

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -244,21 +244,21 @@ echo "-- Docker is ready."
244244
]);
245245
core.endGroup();
246246

247+
core.startGroup('remove default moby');
248+
await exec.exec('sudo', [
249+
'sh',
250+
'-c',
251+
"apt remove -y --no-upgrade moby-buildx moby-cli moby-containerd moby-engine moby-runc"
252+
]).catch(() => { });
253+
core.endGroup();
254+
247255
core.startGroup('update apt cache');
248256
await exec.exec('sudo', [
249257
'apt-get',
250258
'update',
251259
]).catch(() => { });
252260
core.endGroup();
253261

254-
// core.startGroup('remove default moby');
255-
// await exec.exec('sudo', [
256-
// 'sh',
257-
// '-c',
258-
// "apt remove -y --no-upgrade moby-buildx moby-cli moby-containerd moby-engine moby-runc"
259-
// ]).catch(() => { });
260-
// core.endGroup();
261-
262262
core.startGroup('install docker');
263263
await exec.exec('sudo', [
264264
'sh',

0 commit comments

Comments
 (0)