drone-docker icon indicating copy to clipboard operation
drone-docker copied to clipboard

Date label should be applied last

Open bjj opened this issue 5 years ago • 3 comments

I'm using the docker plugin with cache_from to make a build environment. It never changes, so literally half of my build time for that step is applying labels and then pushing those layers back to the registry. It would be nice if the only variable layer were applied last so all of the rest could be cached.

(I'm not sure why the labeling is so slow in general)

bjj avatar Jun 08 '20 05:06 bjj

I'm also using cache_from for a rarely changed image, except that I would prefer to be able to turn off this label entirely to avoid unnecessary cache busting.

gtg3vv avatar Aug 12 '20 17:08 gtg3vv

sounds like a good request. If someone can send a PR, we can take a look and merge quickly.

bradrydzewski avatar Aug 12 '20 17:08 bradrydzewski

Done: #297

gtg3vv avatar Aug 12 '20 19:08 gtg3vv