droneyml mirror to gitlab
This commit is contained in:
parent
0fb67bfcb0
commit
ab7d50a5cc
1 changed files with 10 additions and 4 deletions
14
.drone.yml
14
.drone.yml
|
@ -1,8 +1,8 @@
|
||||||
---
|
---
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
name: mirror the github
|
name: push to mirrors
|
||||||
steps:
|
steps:
|
||||||
- name: push to mirror
|
- name: push to github mirror
|
||||||
image: appleboy/drone-git-push
|
image: appleboy/drone-git-push
|
||||||
settings:
|
settings:
|
||||||
branch: master
|
branch: master
|
||||||
|
@ -10,11 +10,17 @@ steps:
|
||||||
ssh_key:
|
ssh_key:
|
||||||
from_secret: ssh_key
|
from_secret: ssh_key
|
||||||
commit: false
|
commit: false
|
||||||
|
- name: push to gitlab mirror
|
||||||
|
image: appleboy/drone-git-push
|
||||||
|
settings:
|
||||||
|
branch: master
|
||||||
|
remote: ssh://git@gitlab.com/mlunax/dockerfiles.git
|
||||||
|
ssh_key:
|
||||||
|
from_secret: ssh_key
|
||||||
|
commit: false
|
||||||
trigger:
|
trigger:
|
||||||
ref:
|
ref:
|
||||||
- refs/heads/master
|
- refs/heads/master
|
||||||
---
|
---
|
||||||
kind: signature
|
kind: signature
|
||||||
hmac: 8a7c19c1ddd425650aff5df19373e1cbb5f2efd871f79748a0a66aaf5b0b7c50
|
hmac: 8a7c19c1ddd425650aff5df19373e1cbb5f2efd871f79748a0a66aaf5b0b7c50
|
||||||
|
|
||||||
...
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue