Only do a pull every N weeks
ciera opened this issue · 1 comments
ciera commented
Right now, we do a docker pull every time we run the CLI just to see if we have a new version. Instead, we could set this up to only run if it hasn't attempted a pull in N day.
ciera commented
Relevant code is here, function OutOfDate.
https://github.com/google/shipshape/blob/master/shipshape/util/docker/docker.go