Skip to content

Commit 5706c51

Browse files
authored
Add from_json to Decode docker config json step (#711)
Add from_json so that the JSON output is parsed into a dictionary This is required for the next steps when updating the registry secrets (cherry picked from commit 609e482)
1 parent eaad742 commit 5706c51

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

build/stf-run-ci/tasks/setup_registry_auth.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
- name: Decode docker config json
1313
ansible.builtin.set_fact:
14-
dockerconfigjson: "{{ pull_secret.resources[0].data['.dockerconfigjson'] | b64decode }}"
14+
dockerconfigjson: "{{ pull_secret.resources[0].data['.dockerconfigjson'] | b64decode | from_json }}"
1515

1616
- name: Merge registry creds into auth section of docker config
1717
ansible.builtin.set_fact:

0 commit comments

Comments
 (0)