Refactored docker build to use image caching
continuous-integration/drone/pr Build is passing

This commit is contained in:
Khwezi Mngoma
2026-06-16 10:36:25 +02:00
parent d219a7727f
commit 24c8f81391
+2
View File
@@ -31,6 +31,8 @@ steps:
registry: nexus.khongisa.co.za registry: nexus.khongisa.co.za
repo: nexus.khongisa.co.za/midrandbooks-api repo: nexus.khongisa.co.za/midrandbooks-api
tags: [ latest, "1.${DRONE_BUILD_NUMBER}" ] tags: [ latest, "1.${DRONE_BUILD_NUMBER}" ]
use_cache: true
cache_from: nexus.khongisa.co.za/midrandbooks-api:latest
custom_labels: custom_labels:
- org.opencontainers.image.source=https://gitea.khongisa.co.za/litecharms/midrandbooks-api - org.opencontainers.image.source=https://gitea.khongisa.co.za/litecharms/midrandbooks-api
- org.opencontainers.image.version=1.${DRONE_BUILD_NUMBER} - org.opencontainers.image.version=1.${DRONE_BUILD_NUMBER}