qchgk_web_docker/.drone.yml

56 lines
945 B
YAML
Raw Normal View History

2023-03-28 14:02:37 +00:00
kind: pipeline
2023-04-02 14:22:08 +00:00
type: docker
2023-03-28 14:02:37 +00:00
name: default
2023-04-02 14:22:08 +00:00
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
2023-04-02 14:22:08 +00:00
repo: gitea.b4tman.ru/b4tman/qchgk
2023-03-28 14:02:37 +00:00
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
2023-04-02 14:22:08 +00:00
---
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