[Investigation] Use HEAD request to determine if the digest had changed #899
Labels
size/sm
Small level of effort
type/enhancement
Issue that requests a new feature or improvement.
type/research
Issue intended to be exploratory.
Milestone
Description
Currently, when we
pack build
, we attempt to pull some images (eg, we check whether there is a new version of your builder) over here. With DockerHub rate limits, that can be an issue.Proposed solution
First use a HEAD request (perhaps using go-containerregistry
remote.Head
) to check whether the digest has changed, and only pull if it has.Additional context
Slack discussion here
The text was updated successfully, but these errors were encountered: