feat: with update template
Some checks reported errors
continuous-integration/drone/push Build was killed

Signed-off-by: kjuulh <contact@kjuulh.io>
This commit is contained in:
Kasper Juul Hermansen 2023-07-28 19:29:03 +02:00
parent 7e1a56c38c
commit 23f0be8b22
Signed by: kjuulh
GPG Key ID: 9AA7BC13CE474394
2 changed files with 20 additions and 1 deletions

View File

@ -53,3 +53,19 @@ services:
volumes:
- name: dockersock
temp: {}
---
type: docker
kind: pipeline
name: "release-please"
steps:
- name: release
image: marcoieni/release-plz
commands:
- release-plz release-pr --token $GITEA_TOKEN --backend gitea
environments:
GITA_TOKEN:
from_secret: gitea_token
when:
branch:
- master
- main

View File

@ -23,6 +23,7 @@ steps:
- name: dockersock
path: /var/run
commands:
- git remote set-url origin $DRONE_GIT_SSH_URL
- eval `ssh-agent`
- chmod -R 600 ~/.ssh
- ssh-add
@ -32,7 +33,9 @@ steps:
CUDDLE_SECRETS_PROVIDER: 1password
CUDDLE_ONE_PASSWORD_DOT_ENV: ".env.ci"
CUDDLE_SSH_AGENT: "true"
CUDDLE_ONE_PASSWORD_INJECT: "DOCKER_USERNAME={{ op://application/docker_hub_credentials/username }},DOCKER_PASSWORD={{ op://application/docker_hub_credentials/password }}"
CUDDLE_ONE_PASSWORD_INJECT: "{{`DOCKER_USERNAME={{ op://application/docker_hub_credentials/username }},DOCKER_PASSWORD={{ op://application/docker_hub_credentials/password }}`}}"
SSH_KEY:
from_secret: gitea_id_ed25519
OP_SERVICE_ACCOUNT_TOKEN:
from_secret: op_service_account_token