From c9dd57be8ea080cd6724010dbd003f417a5de4c6 Mon Sep 17 00:00:00 2001 From: Dominik Meyer Date: Fri, 27 Dec 2024 15:29:13 +0100 Subject: [PATCH] build: mirror to github --- .drone.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/.drone.yml b/.drone.yml index 410c31e..82076be 100644 --- a/.drone.yml +++ b/.drone.yml @@ -91,6 +91,34 @@ depends_on: - build-amd64 - build-arm64 +--- + +kind: pipeline +type: kubernetes +name: mirror-to-github +node_selector: + kubernetes.io/arch: amd64 + federationhq.de/location: Blumendorf + federationhq.de/compute: true +steps: + - name: github-mirror + image: registry.cloud.federationhq.de/drone-github-mirror:latest + pull: always + settings: + GH_TOKEN: + from_secret: GH_TOKEN + GH_REPO: "byterazor/container-imapfilter" + GH_REPO_DESC: "container for running imapfilter" + GH_REPO_HOMEPAGE: "https://gitea.federationhq.de/Container/imapfilter" +depends_on: + - push + +--- +kind: secret +name: GH_TOKEN +get: + path: github + name: token --- kind: secret