snort/.drone.yml
Kieran 21057e72fc
Some checks reported errors
continuous-integration/drone/push Build encountered an error
setup drone build
2023-05-14 22:15:34 +01:00

37 lines
733 B
YAML

---
kind: pipeline
type: kubernetes
name: default
metadata:
namespace: git
steps:
- name: Update Translations
image: crowdin/cli
environment:
TOKEN:
from_secret: crowdin_token
commands:
- crowdin pull -b main -T $TOKEN
- yarn workspace @snort/app format
- git commit -a -m "Update translations"
---
kind: pipeline
type: kubernetes
name: default
metadata:
namespace: git
steps:
- name: build docker image
image: r.j3ss.co/img
privileged: true
environment:
TOKEN:
from_secret: img_token
commands:
- img login -u kieran -p $TOKEN git.v0l.io
- img build -t git.v0l.io/kieran/snort:latest .
- img push git.v0l.io/kieran/snort:latest