switched ci to pnpm cache

This commit is contained in:
Nicolai Ort 2023-03-29 20:10:34 +02:00
parent 22978e5bbc
commit 67eb761a99
Signed by: niggl
GPG Key ID: 13AFA55AF62F269F

View File

@ -19,6 +19,13 @@ get:
path: odit-git-bot path: odit-git-bot
name: sshkey name: sshkey
---
kind: secret
name: npm_url
get:
path: odit-npm-cache
name: url
--- ---
kind: pipeline kind: pipeline
type: kubernetes type: kubernetes
@ -41,10 +48,8 @@ steps:
password: password:
from_secret: docker_password from_secret: docker_password
build_args: build_args:
- NPM_REGISTRY_DOMAIN: - NPM_REGISTRY_URL:
from_secret: npmjs_domain from_secret: npm_url
- NPM_REGISTRY_TOKEN:
from_secret: npmjs_token
repo: lfk/document-server repo: lfk/document-server
tags: tags:
- dev - dev
@ -78,10 +83,8 @@ steps:
password: password:
from_secret: docker_password from_secret: docker_password
build_args: build_args:
- NPM_REGISTRY_DOMAIN: - NPM_REGISTRY_URL:
from_secret: npmjs_domain from_secret: npm_url
- NPM_REGISTRY_TOKEN:
from_secret: npmjs_token
repo: lfk/document-server repo: lfk/document-server
tags: tags:
- latest - latest
@ -109,10 +112,8 @@ steps:
password: password:
from_secret: docker_password from_secret: docker_password
build_args: build_args:
- NPM_REGISTRY_DOMAIN: - NPM_REGISTRY_URL:
from_secret: npmjs_domain from_secret: npm_url
- NPM_REGISTRY_TOKEN:
from_secret: npmjs_token
repo: lfk/document-server repo: lfk/document-server
tags: tags:
- "${DRONE_TAG}" - "${DRONE_TAG}"