diff --git a/.drone.yml b/.drone.yml index b381aa2..c5e80b8 100644 --- a/.drone.yml +++ b/.drone.yml @@ -101,6 +101,35 @@ 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/drone-docker-readme-push" + GH_REPO_DESC: "drone plugin to push the readme.md to docker hub" + GH_REPO_HOMEPAGE: "https://gitea.federationhq.de/Container/drone-docker-readme-push" +depends_on: + - push + +--- +kind: secret +name: GH_TOKEN +get: + path: github + name: token + --- kind: secret name: username