Added caching to docker build stage #95
@@ -31,6 +31,8 @@ steps:
|
|||||||
registry: nexus.khongisa.co.za
|
registry: nexus.khongisa.co.za
|
||||||
repo: nexus.khongisa.co.za/midrandbooks
|
repo: nexus.khongisa.co.za/midrandbooks
|
||||||
tags: [ latest, "1.${DRONE_BUILD_NUMBER}" ]
|
tags: [ latest, "1.${DRONE_BUILD_NUMBER}" ]
|
||||||
|
use_cache: true
|
||||||
|
cache_from: nexus.khongisa.co.za/midrandbooks:latest
|
||||||
custom_labels:
|
custom_labels:
|
||||||
- org.opencontainers.image.source=https://gitea.khongisa.co.za/litecharms/midrandbooks
|
- org.opencontainers.image.source=https://gitea.khongisa.co.za/litecharms/midrandbooks
|
||||||
- org.opencontainers.image.version=1.${DRONE_BUILD_NUMBER}
|
- org.opencontainers.image.version=1.${DRONE_BUILD_NUMBER}
|
||||||
|
|||||||
Reference in New Issue
Block a user