This commit is contained in:
parent
ce023126fc
commit
9d24c83c5c
39
.drone.yml
39
.drone.yml
@ -1,6 +1,10 @@
|
||||
kind: pipeline
|
||||
type: docker
|
||||
name: default
|
||||
|
||||
platform:
|
||||
os: linux
|
||||
|
||||
steps:
|
||||
- name: submodules
|
||||
image: alpine/git
|
||||
@ -11,9 +15,42 @@ steps:
|
||||
settings:
|
||||
registry: gitea.b4tman.ru
|
||||
username: b4tman
|
||||
repo: b4tman/qchgk
|
||||
repo: gitea.b4tman.ru/b4tman/qchgk
|
||||
tags: latest
|
||||
context: src
|
||||
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: gitea.b4tman.ru/b4tman/qchgk
|
||||
auto_tag: true
|
||||
context: src
|
||||
dockerfile: Dockerfile
|
||||
password:
|
||||
from_secret: gitea_password
|
||||
|
||||
trigger:
|
||||
branch:
|
||||
- master
|
||||
- rocket
|
||||
- actix
|
||||
event:
|
||||
- push
|
||||
- tag
|
Loading…
Reference in New Issue
Block a user