Fix publishing login

Login to DockerHub was failing because of trailing newlines in
the encrypted credentials.
This patch makes the playbook trim them before usage.

Change-Id: I411f91af927ffa4d04c8021ddb5c3d584d90bdfd
This commit is contained in:
Radosław Piliszek 2020-12-15 11:22:36 +01:00
parent 9465c722f8
commit cdd0eb7914
1 changed files with 2 additions and 2 deletions

View File

@ -16,8 +16,8 @@
- name: Login to Dockerhub
docker_login:
username: "{{ kolla_dockerhub_creds.user }}"
password: "{{ kolla_dockerhub_creds.password }}"
username: "{{ kolla_dockerhub_creds.user | trim }}"
password: "{{ kolla_dockerhub_creds.password | trim }}"
- name: Push built container images
docker_image: