Caching pipeline
This commit is contained in:
parent
2091723b40
commit
08ad2f54a9
|
@ -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:
|
||||||
|
|
Loading…
Reference in New Issue