-
Type:
Suggestion
-
Resolution: Unresolved
-
Component/s: Pipelines - Runners
-
None
-
6
When using Linux docker self.hosted runners, if the step's docker image is available in the local docker cache, the runner will use it from the cache instead of pulling from the internet.
However, the runner logs always say the image is being pulled, and has no indication if the local cache is being used or if the image is being pulled from the internet/registry :
[2023-07-24 13:11:11,301] Pulling image node/node:latest. [2023-07-24 13:11:11,309] Looking for auth in config for image Image{name=renovate/renovate:latest, runAsUser=None, auth=None} and found auth null [2023-07-24 13:11:27,476] Updating runner state to "ONLINE". [2023-07-24 13:11:34,964] Pulling image docker-public.packages.atlassian.com/sox/atlassian/bitbucket-pipelines-auth-proxy:prod-stable. [2023-07-24 13:11:34,967] Looking for auth in config for image Image{name=docker-public.packages.atlassian.com/sox/atlassian/bitbucket-pipelines-auth-proxy:prod-stable, runAsUser=None, auth=None} and found auth null [2023-07-24 13:11:37,072] Pulling image k8s-docker.packages.atlassian.com/pause:3.8. [2023-07-24 13:11:37,077] Looking for auth in config for image Image{name=k8s-docker.packages.atlassian.com/pause:3.8, runAsUser=None, auth=None} and found auth null
This feature request is to improve the logging and make it more clear when the runners is using the image from the local docker cache.