Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Multi-arch support when downloading and caching assets #12

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

pacostas
Copy link

This PR supports multi-arch in below ways:

  • It generates a cache directory, based on the platform and the architecture of the requested target.
  • It downloads the assets based on the naming convention repo-tag-paltform-arch, hence it fixes the issue downloading wrong asset in case of a multi-arch repo
  • It support backward compatibility, so in case a repo is not multi-arch, it fallbacks to the previous behavior, which is downloading the first asset in the array.

@pacostas
Copy link
Author

@ForestEckhardt Can you please take a look?

@pacostas
Copy link
Author

pacostas commented Feb 11, 2025

@ForestEckhardt Should we move this repo under paketo buildpacks? (This question is unrelated to this PR)

@pacostas pacostas changed the title Multi-arch support when for downloading and caching assets Multi-arch support when downloading and caching assets Feb 11, 2025
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant