Add the auth key to the dockercfg file
Signed-off-by: Clement Verna <cverna@tutanota.com>
This commit is contained in:
parent
e4d7986b87
commit
fec51cb90e
3 changed files with 7 additions and 2 deletions
|
@ -1 +1 @@
|
|||
{"candidate-registry.fedoraproject.org":{"username":"{{candidate_registry_osbs_prod_username}}","password":"{{candidate_registry_osbs_prod_password}}","email":"","auth":""}}
|
||||
{"candidate-registry.fedoraproject.org":{"username":"{{candidate_registry_osbs_prod_username}}","password":"{{candidate_registry_osbs_prod_password}}","email":"","auth":"{{ auth_info_prod | base64encode }}"}}
|
|
@ -1 +1 @@
|
|||
{"candidate-registry.stg.fedoraproject.org":{"username":"{{candidate_registry_osbs_stg_username}}","password":"{{candidate_registry_osbs_stg_password}}","email":""}}
|
||||
{"candidate-registry.stg.fedoraproject.org":{"username":"{{candidate_registry_osbs_stg_username}}","password":"{{candidate_registry_osbs_stg_password}}","email":"","auth":"{{ auth_info_stg | base64encode }}"}}
|
|
@ -572,6 +572,11 @@
|
|||
- /srv/web/infra/ansible/vars/global.yml
|
||||
- "/srv/private/ansible/vars.yml"
|
||||
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
|
||||
|
||||
vars:
|
||||
auth_info_prod: "{{candidate_registry_osbs_prod_username}}:{{candidate_registry_osbs_prod_password}}"
|
||||
auth_info_stg: "{{candidate_registry_osbs_stg_username}}:{{candidate_registry_osbs_stg_password}}"
|
||||
|
||||
pre_tasks:
|
||||
- name: Create the dockercfg secret file
|
||||
local_action: >
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue