Made cache volume whole ci/cd wide. Also changed mounted directories.

This commit is contained in:
Ruberoid 2024-12-05 14:23:21 +04:00
parent 41f871ecf2
commit 4d014435e8

View File

@ -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