droneyml mirror to gitlab

This commit is contained in:
Luna 2021-02-26 22:15:22 +01:00
parent 0fb67bfcb0
commit ab7d50a5cc
No known key found for this signature in database
GPG key ID: DE9E9D23CD19A149

View file

@ -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
...