Replace cleanup step for hello-world with --rm
parent
9249435290
commit
1049c4e0e4
|
@ -13,8 +13,6 @@ jobs:
|
||||||
sh scripts/get-docker.sh
|
sh scripts/get-docker.sh
|
||||||
sh post-pull.sh
|
sh post-pull.sh
|
||||||
- name: Check if Docker was installed
|
- name: Check if Docker was installed
|
||||||
run: docker run --name hello-world hello-world
|
run: docker run --rm --name hello-world hello-world
|
||||||
- name: Clean up hello-world container
|
|
||||||
run: docker rm hello-world
|
|
||||||
- name: Clean up network (see #3)
|
- name: Clean up network (see #3)
|
||||||
run: docker network rm main_subnet
|
run: docker network rm main_subnet
|
Loading…
Reference in New Issue