Added ci bump and tag

This commit is contained in:
niggl committed 2022-05-06 16:11:44 +02:00
1 parent 4363159476
commit b763650513
1 file changed
+30
+30
View File
@@ -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