KnilchWeb/.drone.yml
2022-09-12 06:41:54 +02:00

39 lines
No EOL
686 B
YAML

kind: pipeline
type: kubernetes
name: default
steps:
- name: check for Hardcoded Credentials
image: plugins/gitleaks
- name: woke check
image: getwoke/woke
commands:
- woke
- name: build
image: node
commands:
- npm install typescript
- npx tsc
- name: build docker file and publish
image: plugins/docker
settings:
repo: llamprecht/knilch-web
auto_tag: true
registry: git.cluster.stumblestore.de
username:
from_secret: docker_username
password:
from_secret: docker_password
- name: deploy
image: vallard/drone-kube
template: deployment.yaml
namespace: knilch-web
when:
event:
- promote
target:
- production