Caching pipeline

This commit is contained in:
DutchEllie 2022-07-01 15:09:45 +02:00
parent 2091723b40
commit 08ad2f54a9
Signed by: DutchEllie
SSH Key Fingerprint: SHA256:UU8yhd1Bh8exU88ev0ej/Dm+CeyfR/ZIDRrpRfYdfbg
1 changed files with 3 additions and 0 deletions

View File

@ -14,6 +14,8 @@ steps:
- name: build - name: build
path: /drone/src/build path: /drone/src/build
settings: settings:
cache_from:
"dutchellie/${DRONE-REPO_NAME}:${DRONE_BRANCH}-latest"
username: username:
from_secret: org_docker_username from_secret: org_docker_username
password: password:
@ -22,6 +24,7 @@ steps:
repo: dutchellie/${DRONE_REPO_NAME} repo: dutchellie/${DRONE_REPO_NAME}
tags: tags:
- ${DRONE_BRANCH}-${DRONE_COMMIT_SHA:0:8} - ${DRONE_BRANCH}-${DRONE_COMMIT_SHA:0:8}
- ${DRONE_BRANCH}-latest
- name: deploy - name: deploy
image: pelotech/drone-helm3 image: pelotech/drone-helm3
settings: settings: