qchgk_web_docker/.drone.yml
Dmitry 9d24c83c5c
All checks were successful
continuous-integration/drone/push Build is passing
from master
2023-04-02 17:22:08 +03:00

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