Refactored docker build to use image caching #32

Merged
khwezi merged 1 commits from update into master 2026-06-16 10:38:18 +02:00
+2
View File
@@ -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}