aboutsummaryrefslogtreecommitdiff
path: root/.onedev-buildspec.yml
blob: d98172c85ca40b300a07b307df4dc9aa3693d1e7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
version: 46
jobs:
- name: Push to Mirrors
  steps:
  - type: PushRepository
    name: Mirror to github.com
    remoteUrl: https://github.com/zuedev/gitinfo
    userName: zuedev
    passwordSecret: github-access-token
    force: true
    condition: SUCCESSFUL
    optional: false
  - type: PushRepository
    name: Mirror to gitlab.docker-compose.zue.dev
    remoteUrl: https://gitlab.docker-compose.zue.dev/zuedev/gitinfo
    userName: zuedev
    passwordSecret: gitlab.docker-compose-access-token
    force: true
    condition: SUCCESSFUL
    optional: false
  triggers:
  - type: BranchUpdateTrigger
    userMatch: anyone
  - type: TagCreateTrigger
  retryCondition: never
  maxRetries: 3
  retryDelay: 30
  timeout: 14400