From 35de6217f7ea00ba9650acf282422654b12228b9 Mon Sep 17 00:00:00 2001 From: Dominik Meyer Date: Fri, 27 Dec 2024 17:26:13 +0100 Subject: [PATCH] build: mirror to github --- .drone.yml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/.drone.yml b/.drone.yml index 027e00f..1be4e3e 100644 --- a/.drone.yml +++ b/.drone.yml @@ -158,6 +158,35 @@ depends_on: - build-nginx-amd64 - build-nginx-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-Wikindx" + GH_REPO_DESC: "Container Images for running wikindx" + GH_REPO_HOMEPAGE: "https://gitea.federationhq.de/Container/wikindx" +depends_on: + - push + +--- +kind: secret +name: GH_TOKEN +get: + path: github + name: token + --- kind: secret name: username