0
0
vps-set-up-playbook/roles/docker-buildx/tasks/remove-docker-buildx.yml

11 lines
265 B
YAML
Raw Normal View History

2023-11-11 02:06:42 +08:00
- name: Remove all docker buildx resources
shell: |
yes | docker buildx prune -a
no_log: true
ignore_errors: yes
- name: docker logout
command: docker logout
- name: Remove docker buildx
command: rm /home/{{ user }}/.docker/cli-plugins/docker-buildx