chore: update drone
This commit is contained in:
parent
de54805280
commit
50744ee928
18
.drone.yml
18
.drone.yml
@ -14,7 +14,7 @@ steps:
|
||||
from_secret: crowdin_token
|
||||
commands:
|
||||
- crowdin pull -b main -T $TOKEN
|
||||
- yarn workspace @snort/app format
|
||||
- npx yarn workspace @snort/app format
|
||||
- git commit -a -m "Update translations"
|
||||
---
|
||||
kind: pipeline
|
||||
@ -28,10 +28,22 @@ steps:
|
||||
- name: build docker image
|
||||
image: r.j3ss.co/img
|
||||
privileged: true
|
||||
volumes:
|
||||
- name: cache
|
||||
path: /docker-cache
|
||||
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
|
||||
- |-
|
||||
img build -t git.v0l.io/kieran/snort:latest \
|
||||
--platform linux/amd64,linux/arm64 \
|
||||
--cache-from "type=local,src=/docker-cache" \
|
||||
--cache-to "type=local,dest=/docker-cache" \
|
||||
.
|
||||
- img push git.v0l.io/kieran/snort:latest
|
||||
volumes:
|
||||
- name: cache
|
||||
claim:
|
||||
name: docker-cache
|
Loading…
x
Reference in New Issue
Block a user