chore: update drone.yml
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Kieran 2023-05-15 10:15:12 +01:00
parent 3e5b7ec4a6
commit 38b4fd3bb7
Signed by: Kieran
GPG Key ID: DE71CEB3925BE941

View File

@ -11,6 +11,7 @@ steps:
TOKEN: TOKEN:
from_secret: crowdin_token from_secret: crowdin_token
commands: commands:
- crowdin upload -b main -T $TOKEN
- crowdin pull -b main -T $TOKEN - crowdin pull -b main -T $TOKEN
- name: Push changes - name: Push changes
image: node:current-bullseye image: node:current-bullseye
@ -39,7 +40,8 @@ steps:
from_secret: img_token from_secret: img_token
commands: commands:
- img login -u kieran -p $TOKEN git.v0l.io - img login -u kieran -p $TOKEN git.v0l.io
- img build -t git.v0l.io/kieran/snort:latest \ - |-
img build -t git.v0l.io/kieran/snort:latest \
--platform linux/amd64,linux/arm64 \ --platform linux/amd64,linux/arm64 \
--cache-from "type=local,src=/docker-cache" \ --cache-from "type=local,src=/docker-cache" \
--cache-to "type=local,dest=/docker-cache" \ --cache-to "type=local,dest=/docker-cache" \