drone release pipeline
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing

This commit is contained in:
Tobias Trabelsi 2022-10-03 17:59:46 +02:00
parent 5b25a2057b
commit 4182598392
Signed by: lerentis
GPG Key ID: FF0C2839718CAF2E
3 changed files with 32 additions and 3 deletions

View File

@ -43,3 +43,32 @@ steps:
- push - push
- pull_request - pull_request
- cron - cron
---
kind: pipeline
type: kubernetes
name: release-bitwarden-crd-operator
platform:
os: linux
arch: amd64
steps:
- name: release-bitwarden-crd-operator
image: plugins/kaniko
settings:
dockerfile: Dockerfile
password:
from_secret: docker_password
username:
from_secret: docker_username
repo: lerentis/bitwarden-crd-operator
tags:
- latest
- ${DRONE_TAG##v}
when:
event:
- tag
resources:
limits:
cpu: 200
memory: 1024MiB

View File

@ -77,6 +77,6 @@ type: Opaque
[] support more types [] support more types
[] offer option to use a existing secret in helm chart [] offer option to use a existing secret in helm chart
[] host chart on gh pages [x] host chart on gh pages
[] write release pipeline [x] write release pipeline
[x] maybe extend spec to offer modification of keys as well [x] maybe extend spec to offer modification of keys as well

View File

@ -8,7 +8,7 @@ image:
repository: lerentis/bitwarden-crd-operator repository: lerentis/bitwarden-crd-operator
pullPolicy: IfNotPresent pullPolicy: IfNotPresent
# Overrides the image tag whose default is the chart appVersion. # Overrides the image tag whose default is the chart appVersion.
tag: "5806fb6c54c024ec918eac97601880096b5ff1d9" # tag: "0.1.0"
imagePullSecrets: [] imagePullSecrets: []
nameOverride: "" nameOverride: ""