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

11 lines
265 B
YAML

- 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