Added promotion step

This commit is contained in:
Jim Martens 2023-08-19 03:54:11 +02:00
parent 406a891849
commit 37506b6c83
1 changed files with 6 additions and 0 deletions

View File

@ -80,6 +80,12 @@ steps:
- chmod 600 $HOME/.ssh/known_hosts
- ssh-keyscan -H git.2martens.de > $HOME/.ssh/known_hosts 2>/dev/null
- ./gradlew -Prelease.useLastTag=true final jib
- name: promote-staging
image: danihodovic/drone-promote
settings:
drone_token:
from_secret: drone_token
target: production
volumes:
- name: cache