add package publish
Some checks failed
continuous-integration/drone/push Build is failing

b4tman/qchgk_web_docker#1
This commit is contained in:
Dmitry Belyaev 2023-03-29 10:36:04 +03:00
parent e7d4a18d3e
commit 66cf530a2b
Signed by: b4tman
GPG Key ID: 41A00BF15EA7E5F3

View File

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