buildhw: login to docker registry

This is needed to get the new flatpak building setup working entirely.
We already added this to buildvm's, but missed adding it to buildhw
playbook at the same time. It shouldn't cause any problems for anything,
it's just a podman login call so the flatpak koji plugin can push the
completed container to the candidate registry.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
Kevin Fenzi 2023-08-23 09:32:34 -07:00
parent 8fb8871d1d
commit a18299df62

View file

@ -92,6 +92,17 @@
host: "odcs{{ env_suffix }}.fedoraproject.org"
kt_location: /etc/kojid/secrets/odcs_inner.keytab
when: env == "staging"
# push built Flatpaks to candidate registry
- role: login-registry
candidate_registry: "candidate-registry.fedoraproject.org"
candidate_registry_osbs_username: "{{candidate_registry_osbs_prod_username}}"
candidate_registry_osbs_password: "{{candidate_registry_osbs_prod_password}}"
when: env == "production"
- role: login-registry
candidate_registry: "candidate-registry.stg.fedoraproject.org"
candidate_registry_osbs_username: "{{candidate_registry_osbs_stg_username}}"
candidate_registry_osbs_password: "{{candidate_registry_osbs_stg_password}}"
when: env == "staging"
tasks:
- import_tasks: "{{ tasks_path }}/motd.yml"