Don't use local config for Docker registry login

It doesn't work when deploying in Vagrant :(
This commit is contained in:
Sam A. 2022-11-13 22:39:14 +01:00
parent 41f09e7b33
commit 01d9d3c04b
Signed by: samsapti
GPG key ID: CBBBE7371E81C4EA

View file

@ -28,9 +28,8 @@
args: args:
creates: "{{ docker_registry.volume_folder }}/auth/htpasswd" creates: "{{ docker_registry.volume_folder }}/auth/htpasswd"
- name: log in to local registry - name: log in to registry
docker_login: docker_login:
registry: "{{ docker_registry.domain }}" registry: "{{ docker_registry.domain }}"
username: "docker" username: "docker"
password: "{{ docker_password }}" password: "{{ docker_password }}"
config_path: "{{ docker_registry.volume_folder }}/auth/config.json"