2023-03-28 14:02:37 +00:00
|
|
|
kind: pipeline
|
2023-03-29 07:36:04 +00:00
|
|
|
type: docker
|
2023-03-28 14:02:37 +00:00
|
|
|
name: default
|
|
|
|
|
2023-03-29 07:36:04 +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
|
|
|
|
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
|
|
|
|
|
2023-03-29 07:36:04 +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: b4tman/qchgk
|
|
|
|
auto_tag: true
|
|
|
|
context: src
|
|
|
|
dockerfile: Dockerfile
|
|
|
|
password:
|
|
|
|
from_secret: gitea_password
|
|
|
|
|
|
|
|
trigger:
|
|
|
|
branch:
|
|
|
|
- master
|
|
|
|
- rocket
|
|
|
|
- actix
|
|
|
|
event:
|
|
|
|
- push
|
|
|
|
- tag
|