From 67eb761a9905ea49503b98e3c28e40069073b56a Mon Sep 17 00:00:00 2001 From: Nicolai Ort Date: Wed, 29 Mar 2023 20:10:34 +0200 Subject: [PATCH] switched ci to pnpm cache --- .drone.yml | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-) diff --git a/.drone.yml b/.drone.yml index 387ee45..4ef5800 100644 --- a/.drone.yml +++ b/.drone.yml @@ -19,6 +19,13 @@ get: path: odit-git-bot name: sshkey +--- +kind: secret +name: npm_url +get: + path: odit-npm-cache + name: url + --- kind: pipeline type: kubernetes @@ -41,10 +48,8 @@ steps: password: from_secret: docker_password build_args: - - NPM_REGISTRY_DOMAIN: - from_secret: npmjs_domain - - NPM_REGISTRY_TOKEN: - from_secret: npmjs_token + - NPM_REGISTRY_URL: + from_secret: npm_url repo: lfk/document-server tags: - dev @@ -78,10 +83,8 @@ steps: password: from_secret: docker_password build_args: - - NPM_REGISTRY_DOMAIN: - from_secret: npmjs_domain - - NPM_REGISTRY_TOKEN: - from_secret: npmjs_token + - NPM_REGISTRY_URL: + from_secret: npm_url repo: lfk/document-server tags: - latest @@ -109,10 +112,8 @@ steps: password: from_secret: docker_password build_args: - - NPM_REGISTRY_DOMAIN: - from_secret: npmjs_domain - - NPM_REGISTRY_TOKEN: - from_secret: npmjs_token + - NPM_REGISTRY_URL: + from_secret: npm_url repo: lfk/document-server tags: - "${DRONE_TAG}"