Compare commits

..

2 Commits

Author SHA1 Message Date
Khwezi Mngoma 24c8f81391 Refactored docker build to use image caching
continuous-integration/drone/pr Build is passing
2026-06-16 10:36:25 +02:00
Khwezi Mngoma d219a7727f Added automati revision history pruning
continuous-integration/drone/pr Build is passing
2026-06-15 23:27:39 +02:00
2 changed files with 3 additions and 0 deletions
+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}
+1
View File
@@ -47,6 +47,7 @@ metadata:
namespace: midrandbooksapi-uat
spec:
replicas: 2
revisionHistoryLimit: 0
selector:
matchLabels:
app: midrandbooks-api