ci: improve caching in docker
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
6253e3138e
commit
e8422180c4
1 changed files with 6 additions and 2 deletions
|
@ -41,7 +41,9 @@ steps:
|
||||||
from_secret: DOCKERHUB_USERNAME
|
from_secret: DOCKERHUB_USERNAME
|
||||||
password:
|
password:
|
||||||
from_secret: DOCKERHUB_PASSWORD
|
from_secret: DOCKERHUB_PASSWORD
|
||||||
cache_from: "glenux/service-nextcloud:latest_${DRONE_BRANCH/\\//-}"
|
cache_from:
|
||||||
|
- "glenux/service-nextcloud:${DRONE_COMMIT_SHA:0:8}"
|
||||||
|
- "glenux/service-nextcloud:latest_${DRONE_BRANCH/\\//-}"
|
||||||
repo: glenux/service-nextcloud
|
repo: glenux/service-nextcloud
|
||||||
tags: "latest_${DRONE_BRANCH/\\//-}"
|
tags: "latest_${DRONE_BRANCH/\\//-}"
|
||||||
purge: false
|
purge: false
|
||||||
|
@ -60,7 +62,9 @@ steps:
|
||||||
from_secret: DOCKERHUB_USERNAME
|
from_secret: DOCKERHUB_USERNAME
|
||||||
password:
|
password:
|
||||||
from_secret: DOCKERHUB_PASSWORD
|
from_secret: DOCKERHUB_PASSWORD
|
||||||
cache_from: "glenux/service-nextcloud:latest_${DRONE_BRANCH/\\//-}"
|
cache_from:
|
||||||
|
- "glenux/service-nextcloud:${DRONE_COMMIT_SHA:0:8}"
|
||||||
|
- "glenux/service-nextcloud:latest_${DRONE_BRANCH/\\//-}"
|
||||||
repo: glenux/service-nextcloud
|
repo: glenux/service-nextcloud
|
||||||
tags: latest
|
tags: latest
|
||||||
purge: false
|
purge: false
|
||||||
|
|
Loading…
Reference in a new issue