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 committed by Gitea
parent eeecfca7ef
commit 50fa65d55e

View file

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