chore: build with cache
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
2025-05-31 20:08:07 +01:00
parent a4ab530ade
commit 0f893a004c

View File

@ -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)