From 4d014435e82b6ee82b2bd0788825d269f9262403 Mon Sep 17 00:00:00 2001 From: Ruberoid Date: Thu, 5 Dec 2024 14:23:21 +0400 Subject: [PATCH] Made cache volume whole ci/cd wide. Also changed mounted directories. --- .drone.yml | 25 +++++++++++++++++++++++-- 1 file changed, 23 insertions(+), 2 deletions(-) diff --git a/.drone.yml b/.drone.yml index 4a3be9d..7bb8201 100644 --- a/.drone.yml +++ b/.drone.yml @@ -21,7 +21,7 @@ steps: image: plugins/docker volumes: - name: dotnet-cache - path: /tmp/ + path: /app/ privileged: true settings: repo: hub.musk.fun/k8s/nocr/telegram_listener @@ -38,7 +38,7 @@ steps: image: mcr.microsoft.com/dotnet/sdk:8.0 volumes: - name: dotnet-cache - path: /tmp/ + path: /app/ environment: VERSION: ${DRONE_TAG} NUGETAPIKEY: @@ -51,6 +51,9 @@ steps: - name: nocr text matcher build & push image: plugins/docker privileged: true + volumes: + - name: dotnet-cache + path: /app/ settings: repo: hub.musk.fun/k8s/nocr/text_matcher registry: hub.musk.fun @@ -64,6 +67,9 @@ steps: - name: nocr text matcher nuget package make & push image: mcr.microsoft.com/dotnet/sdk:8.0 + volumes: + - name: dotnet-cache + path: /app/ environment: VERSION: ${DRONE_TAG} NUGETAPIKEY: @@ -76,6 +82,9 @@ steps: - name: nocr users build & push image: plugins/docker privileged: true + volumes: + - name: dotnet-cache + path: /app/ settings: repo: hub.musk.fun/k8s/nocr/users registry: hub.musk.fun @@ -89,6 +98,9 @@ steps: - name: nocr users nuget package make & push image: mcr.microsoft.com/dotnet/sdk:8.0 + volumes: + - name: dotnet-cache + path: /app/ environment: VERSION: ${DRONE_TAG} NUGETAPIKEY: @@ -101,6 +113,9 @@ steps: - name: nocr telegram client build & push image: plugins/docker privileged: true + volumes: + - name: dotnet-cache + path: /app/ settings: repo: hub.musk.fun/k8s/nocr/telegram_client registry: hub.musk.fun @@ -115,6 +130,9 @@ steps: - name: nocr text matcher migrator build & push image: plugins/docker privileged: true + volumes: + - name: dotnet-cache + path: /app/ settings: repo: hub.musk.fun/k8s/nocr/text_matcher_migrator registry: hub.musk.fun @@ -129,6 +147,9 @@ steps: - name: nocr users migrator build & push image: plugins/docker privileged: true + volumes: + - name: dotnet-cache + path: /app/ settings: repo: hub.musk.fun/k8s/nocr/users_migrator registry: hub.musk.fun