From 0f893a004c518d3a1e5e45bd675351a3421469c8 Mon Sep 17 00:00:00 2001 From: Kieran Date: Sat, 31 May 2025 20:08:07 +0100 Subject: [PATCH] chore: build with cache --- .drone.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index 6f4a5a8..c205219 100644 --- a/.drone.yml +++ b/.drone.yml @@ -5,15 +5,22 @@ metadata: namespace: git concurrency: limit: 1 +volumes: + - name: cache + claim: + name: storage2 steps: - name: build image: docker privileged: true + volumes: + - name: cache + path: /cache environment: TOKEN_DOCKER: from_secret: docker_hub commands: - - dockerd & + - dockerd --data-root /cache/dockerd & - docker login -u voidic -p $TOKEN_DOCKER - docker buildx build --push -t voidic/tiktok-dvm:latest . - kill $(cat /var/run/docker.pid) \ No newline at end of file