forked from Kieran/snort
chore: update drone.yml
This commit is contained in:
parent
2ebe06aa35
commit
fdcf77ad55
14
.drone.yml
14
.drone.yml
@ -9,9 +9,9 @@ steps:
|
|||||||
image: node:current-bullseye
|
image: node:current-bullseye
|
||||||
volumes:
|
volumes:
|
||||||
- name: cache
|
- name: cache
|
||||||
path: /docker-cache
|
path: /cache
|
||||||
environment:
|
environment:
|
||||||
YARN_CACHE_FOLDER: /docker-cache/yarn
|
YARN_CACHE_FOLDER: /cache/.yarn-translations
|
||||||
TOKEN:
|
TOKEN:
|
||||||
from_secret: drone_gitea
|
from_secret: drone_gitea
|
||||||
CTOKEN:
|
CTOKEN:
|
||||||
@ -46,7 +46,7 @@ steps:
|
|||||||
privileged: true
|
privileged: true
|
||||||
volumes:
|
volumes:
|
||||||
- name: cache
|
- name: cache
|
||||||
path: /docker-cache
|
path: /cache
|
||||||
environment:
|
environment:
|
||||||
TOKEN:
|
TOKEN:
|
||||||
from_secret: img_token
|
from_secret: img_token
|
||||||
@ -55,8 +55,8 @@ steps:
|
|||||||
- |-
|
- |-
|
||||||
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=/cache" \
|
||||||
--cache-to "type=local,dest=/docker-cache" \
|
--cache-to "type=local,dest=/cache" \
|
||||||
.
|
.
|
||||||
- img push git.v0l.io/kieran/snort:latest
|
- img push git.v0l.io/kieran/snort:latest
|
||||||
volumes:
|
volumes:
|
||||||
@ -74,9 +74,9 @@ steps:
|
|||||||
image: node:current-bullseye
|
image: node:current-bullseye
|
||||||
volumes:
|
volumes:
|
||||||
- name: cache
|
- name: cache
|
||||||
path: /docker-cache
|
path: /cache
|
||||||
environment:
|
environment:
|
||||||
YARN_CACHE_FOLDER: /docker-cache/yarn
|
YARN_CACHE_FOLDER: /cache/.yarn-test
|
||||||
commands:
|
commands:
|
||||||
- yarn install
|
- yarn install
|
||||||
- yarn workspace @snort/nostr build
|
- yarn workspace @snort/nostr build
|
||||||
|
Loading…
Reference in New Issue
Block a user