ci: Improve caching source
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Glenn Y. Rolland 2023-01-16 00:49:44 +01:00
parent a58b5470e8
commit 891e2f2a98

View file

@ -18,7 +18,7 @@ steps:
from_secret: DOCKERHUB_USERNAME
password:
from_secret: DOCKERHUB_PASSWORD
cache_from: glenux/service-ntfy
cache_from: "glenux/service-ntfy:latest_${DRONE_BRANCH/\\//-}"
repo: glenux/service-ntfy
tags: "${DRONE_COMMIT_SHA:0:8}"
@ -32,7 +32,7 @@ steps:
from_secret: DOCKERHUB_USERNAME
password:
from_secret: DOCKERHUB_PASSWORD
cache_from: glenux/service-ntfy
cache_from: "glenux/service-ntfy:latest_${DRONE_BRANCH/\\//-}"
repo: glenux/service-ntfy
tags: "latest_${DRONE_BRANCH/\\//-}"
when: