File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff 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' ,
You can’t perform that action at this time.
0 commit comments