Don't use local config for Docker registry login
It doesn't work when deploying in Vagrant :(
This commit is contained in:
parent
eeecfca7ef
commit
50fa65d55e
|
@ -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"
|
|
||||||
|
|
Loading…
Reference in a new issue