Skip to content
Browse files

chore(ci): use buildkit inline cache

Hopefully this will make docker use the cache for multiline builds,
meaning that diesel doesn't have to be compiled on every run of the

Still working on figuring out why paste's cache is being partially
invalidated and unused.
  • Loading branch information
jkcclemens committed Dec 13, 2019
1 parent ee23773 commit ba6507f44a4d3e64b3f43e4c37ad3c74f4b6eb55
Showing with 2 additions and 1 deletion.
  1. +2 −1 .build.yml
@@ -63,7 +63,8 @@ tasks:
docker pull jkcclemens/paste-prebuilt:latest
export SLUG=$(git name-rev --name-only HEAD | sed 's/[^[:alnum:]\-_]/-/g')
docker pull jkcclemens/paste-prebuilt:"$SLUG" || true
docker build \
DOCKER_BUILDKIT=1 docker build \
--cache-from jkcclemens/paste-prebuilt:latest \
--cache-from jkcclemens/paste-prebuilt:"$SLUG" \
-t jkcclemens/paste-prebuilt:"$SLUG" \

0 comments on commit ba6507f

Please sign in to comment.
You can’t perform that action at this time.