gardenlinux / python-gardenlinux-lib

Contains tools to work with the features directory of gardenlinux, for example deducting dependencies from feature sets or validating cnames
0 stars 0 forks source link

get oci metadata by arch #39

Closed mxmxchere closed 2 months ago

mxmxchere commented 2 months ago

get_oci_metadata now includes an additional parameter "arch" which is used to search only artifacts that match that architecture. before the architectures "amd64" and "arm64" where assumed. This leads to a file not found error if the build directory only contains artifacts for one architecture. Also if artifacts are found they are pushed which is also not desired behaviour when calling a program with --arch

mxmxchere commented 2 months ago

40 includes the changes too.