diff options
| author | Radosław Piliszek <radoslaw.piliszek@gmail.com> | 2020-12-15 11:22:36 +0100 |
|---|---|---|
| committer | Radosław Piliszek <radoslaw.piliszek@gmail.com> | 2020-12-15 11:22:36 +0100 |
| commit | cdd0eb7914fb01dac969386feffd8a0eb64347c8 (patch) | |
| tree | 29a1905ea87e1dddbdde1f72b41be72bd79a8211 | |
| parent | 9465c722f8a84ac07f9d2a99f935df4a1ce90123 (diff) | |
| download | kolla-cdd0eb7914fb01dac969386feffd8a0eb64347c8.tar.gz kolla-cdd0eb7914fb01dac969386feffd8a0eb64347c8.zip | |
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
| -rw-r--r-- | tests/playbooks/publish.yml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/playbooks/publish.yml b/tests/playbooks/publish.yml index 30f8a763e..1149408fe 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: |
