copr: builder: add infra repo only when preparing image

This is because on aarch64 builders we handle this a little bit
differently, and it would result in having the repo enabled twice.
This commit is contained in:
Pavel Raiskup 2019-05-14 09:34:39 +02:00
parent 65410b9d5d
commit acd01d8519

View file

@ -1,5 +1,7 @@
- name: put infra repos into yum.repos.d
copy: src=files/dnf/infra-tags.repo dest=/etc/yum.repos.d
when:
- prepare_base_image
- name: put infra stg repos into yum.repos.d if staging
copy: src=files/dnf/infra-tags-stg.repo dest=/etc/yum.repos.d