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 namespace: git
concurrency: concurrency:
limit: 1 limit: 1
volumes:
- name: cache
claim:
name: storage2
steps: steps:
- name: build - name: build
image: docker image: docker
privileged: true privileged: true
volumes:
- name: cache
path: /cache
environment: environment:
TOKEN_DOCKER: TOKEN_DOCKER:
from_secret: docker_hub from_secret: docker_hub
commands: commands:
- dockerd & - dockerd --data-root /cache/dockerd &
- docker login -u voidic -p $TOKEN_DOCKER - docker login -u voidic -p $TOKEN_DOCKER
- docker buildx build --push -t voidic/tiktok-dvm:latest . - docker buildx build --push -t voidic/tiktok-dvm:latest .
- kill $(cat /var/run/docker.pid) - kill $(cat /var/run/docker.pid)