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:
parent
65410b9d5d
commit
acd01d8519
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue