From 24c8f81391d701522e9b3168dc02474cd53e0b92 Mon Sep 17 00:00:00 2001 From: Khwezi Mngoma Date: Tue, 16 Jun 2026 10:36:25 +0200 Subject: [PATCH] Refactored docker build to use image caching --- .drone.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.drone.yml b/.drone.yml index 4423d7a..1ca61c3 100644 --- a/.drone.yml +++ b/.drone.yml @@ -31,6 +31,8 @@ steps: registry: nexus.khongisa.co.za repo: nexus.khongisa.co.za/midrandbooks-api tags: [ latest, "1.${DRONE_BUILD_NUMBER}" ] + use_cache: true + cache_from: nexus.khongisa.co.za/midrandbooks-api:latest custom_labels: - org.opencontainers.image.source=https://gitea.khongisa.co.za/litecharms/midrandbooks-api - org.opencontainers.image.version=1.${DRONE_BUILD_NUMBER}