beacon-node-builds: use docker_login resource

Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
Jakub Sokołowski 2020-11-20 16:54:50 +01:00
parent 9fa06b2590
commit 3eacfc36c7
No known key found for this signature in database
GPG Key ID: 4EF064D0E6D63020
1 changed files with 4 additions and 4 deletions

View File

@ -11,7 +11,7 @@
become_user: '{{ beacon_node_builds_user }}'
- name: Configure access to Docker Hub
command: |
docker login \
--username {{ beacon_node_builds_docker_hub_user | mandatory }} \
--password {{ beacon_node_builds_docker_hub_token | mandatory }}
docker_login:
username: '{{ beacon_node_builds_docker_hub_user | mandatory }}'
password: '{{ beacon_node_builds_docker_hub_token | mandatory }}'
become_user: '{{ beacon_node_builds_user }}'