qchgk_web_docker/.drone.yml

57 lines
915 B
YAML
Raw Normal View History

2023-03-28 14:02:37 +00:00
kind: pipeline
type: docker
2023-03-28 14:02:37 +00:00
name: default
platform:
os: linux
2023-03-28 14:02:37 +00:00
steps:
2023-03-28 14:12:50 +00:00
- name: submodules
image: alpine/git
commands:
- git submodule update --init --recursive
- name: docker
2023-03-28 14:02:37 +00:00
image: plugins/docker
settings:
registry: gitea.b4tman.ru
username: b4tman
repo: b4tman/qchgk
tags: latest
2023-03-28 14:12:50 +00:00
context: src
2023-03-28 14:19:56 +00:00
dockerfile: Dockerfile
2023-03-28 14:02:37 +00:00
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