feat: build docker

This commit is contained in:
2025-02-27 13:45:19 +00:00
parent d28d6637f8
commit 4ae98658b7
4 changed files with 61 additions and 20 deletions

24
.drone.yml Normal file
View File

@ -0,0 +1,24 @@
kind: pipeline
type: kubernetes
name: default
metadata:
namespace: git
concurrency:
limit: 1
trigger:
branch:
- main
event:
- push
steps:
- name: build
image: docker
privileged: true
environment:
TOKEN_DOCKER:
from_secret: docker_hub
commands:
- dockerd &
- docker login -u voidic -p $TOKEN_DOCKER
- docker buildx build --push -t voidic/tiktok-dvm:latest .
- kill $(cat /var/run/docker.pid)