Buildkite-agent annotate prefetches images

We use buildkite-agent annotate feature to mark our build. Thanks to the helpful examples in the Docs, we got creative about providing meaningful information to our team.

What I noticed though, when we reference external images hosted in Github’s private repository, they don’t get displayed at all. It is my observation that Buildkite attempts to preload images in annotations and store them in local cache. But since Buildkite itself doesn’t have an active session with Github, Github returns 404, and Buildkite stores no image.

Is there a way to make Buildkite to preserve the original URL without trying to retrieve them. This would allow the users with active Github session access the URL and retrieve the images.

Thanks.

Hey @Germicide5416 :wave:,

This is Suma from Buildkite support team. Thank you for reaching out to us with your question.

Annotation using external images hosted in Github’s private repository is not supported exactly for the reasons you mentioned which is Buildkite UI will try to load the image but does not have access to your private Github repo.

Please can you confirm if you are posting just the url in the annotation ? If there is a build url which you can share with us where you see the issue we can check if there is any other way to get this working. If you have build url, please can you send it to support@buildkite.com so we can check on it.

Thanks,
Suma

1 Like