Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

[harbor] Add support for multi-arch images #224

Merged
merged 1 commit into from
Dec 6, 2021

Conversation

ricoberger
Copy link
Member

This commits adds better support for multi-arch images, which are saved
in Harbor. Until now, we only were showing the parent artifact for
multi-arch image, without the build history and vulnerabilities. Now we
are using the reference array from this artifact to get more information
for all of the child artifacts. In this case one artifact represents one
architecture/os for the image.

To get the vulnerabilities for these artifacts we had to add the
"X-Accept-Vulnerabilities" header to the requests. If this header isn't
present the vulnerabilities are missing for multi-arch images.

This commits adds better support for multi-arch images, which are saved
in Harbor. Until now, we only were showing the parent artifact for
multi-arch image, without the build history and vulnerabilities. Now we
are using the reference array from this artifact to get more information
for all of the child artifacts. In this case one artifact represents one
architecture/os for the image.

To get the vulnerabilities for these artifacts we had to add the
"X-Accept-Vulnerabilities" header to the requests. If this header isn't
present the vulnerabilities are missing for multi-arch images.
@ricoberger ricoberger force-pushed the harbor-add-support-for-multi-arch-images branch from dea17f0 to 81b66a5 Compare December 6, 2021 21:42
@ricoberger ricoberger merged commit a4d58c6 into main Dec 6, 2021
@ricoberger ricoberger deleted the harbor-add-support-for-multi-arch-images branch December 6, 2021 21:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant