diff --git a/.drone.yml b/.drone.yml
index 2152a98..8326511 100644
--- a/.drone.yml
+++ b/.drone.yml
@@ -1,6 +1,10 @@
 kind: pipeline
+type: docker
 name: default
 
+platform:
+  os: linux
+
 steps:
 - name: submodules
   image: alpine/git
@@ -17,3 +21,36 @@ steps:
     dockerfile: Dockerfile
     dry_run: true
 
+---
+kind: pipeline
+type: docker
+name: publish
+
+platform:
+  os: linux
+
+steps:
+- name: submodules
+  image: alpine/git
+  commands:
+  - git submodule update --init --recursive
+- name: docker
+  image: plugins/docker
+  settings:
+    registry: gitea.b4tman.ru
+    username: b4tman
+    repo: b4tman/qchgk
+    auto_tag: true
+    context: src
+    dockerfile: Dockerfile
+    password:
+      from_secret: gitea_password
+
+trigger:
+  branch:
+  - master
+  - rocket
+  - actix
+  event:
+  - push
+  - tag