qchgk_web_docker/.drone.yml

56 lines
945 B
YAML

kind: pipeline
type: docker
name: default
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
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