fix: Pull extra akmods image too (#169)

Adds the new `-extra` image from akmods image
This commit is contained in:
Gerald Pinder 2024-04-27 15:01:06 -04:00 committed by GitHub
parent 92150693d4
commit 3898202bc3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 35 additions and 15 deletions

View file

@ -1,7 +1,8 @@
{%- for info in recipe.modules_ext.get_akmods_info_list(os_version) %}
FROM scratch as stage-akmods-{{ info.stage_name }}
COPY --from=ghcr.io/ublue-os/{{ info.images.0 }} /rpms /rpms
{%- if let Some(nv_image) = info.images.1 %}
COPY --from=ghcr.io/ublue-os/{{ info.images.1 }} /rpms /rpms
{%- if let Some(nv_image) = info.images.2 %}
COPY --from=ghcr.io/ublue-os/{{ nv_image }} /rpms /rpms
{%- endif %}
{%- endfor %}