From cdd0eb7914fb01dac969386feffd8a0eb64347c8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rados=C5=82aw=20Piliszek?= Date: Tue, 15 Dec 2020 11:22:36 +0100 Subject: [PATCH] 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 --- tests/playbooks/publish.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/playbooks/publish.yml b/tests/playbooks/publish.yml index 30f8a763e1..1149408fe3 100644 --- a/tests/playbooks/publish.yml +++ b/tests/playbooks/publish.yml @@ -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: