From b76365051370da3bc0a55932cecda0c33c85bd17 Mon Sep 17 00:00:00 2001 From: Nicolai Ort Date: Fri, 6 May 2022 16:11:44 +0200 Subject: [PATCH] Added ci bump and tag --- drone/bump_and_tag.yaml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 drone/bump_and_tag.yaml diff --git a/drone/bump_and_tag.yaml b/drone/bump_and_tag.yaml new file mode 100644 index 0000000..359de8d --- /dev/null +++ b/drone/bump_and_tag.yaml @@ -0,0 +1,30 @@ +--- +kind: pipeline +type: kubernetes +name: bumd_and_tag +steps: + - name: bump_patch + depends_on: [clone] + image: registry.odit.services/hub/library/node:18.1.0-alpine3.15 + commands: + - apk add git + - git config --global push.default current + - git branch --set-upstream-to=origin/main main + - yarn + - yarn release:patch + - git pull + - name: push to repo + image: appleboy/drone-git-push + depends_on: [bump_patch] + settings: + commit: false + author_email: bot@odit.services + followtags: true + branch: main + remote: git@git.odit.services:ORG/REPO.git + skip_verify: true + ssh_key: + from_secret: git_ssh +trigger: + branch: + - main \ No newline at end of file