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