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
|
||||
name: mirror the github
|
||||
name: push to mirrors
|
||||
steps:
|
||||
- name: push to mirror
|
||||
- name: push to github mirror
|
||||
image: appleboy/drone-git-push
|
||||
settings:
|
||||
branch: master
|
||||
|
@ -10,11 +10,17 @@ steps:
|
|||
ssh_key:
|
||||
from_secret: ssh_key
|
||||
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:
|
||||
ref:
|
||||
- refs/heads/master
|
||||
---
|
||||
kind: signature
|
||||
hmac: 8a7c19c1ddd425650aff5df19373e1cbb5f2efd871f79748a0a66aaf5b0b7c50
|
||||
|
||||
...
|
||||
|
|
Loading…
Add table
Reference in a new issue