diff --git a/.drone.yml b/.drone.yml index 57f3b0d..4a3be9d 100644 --- a/.drone.yml +++ b/.drone.yml @@ -19,6 +19,9 @@ steps: - name: nocr telegram listener build & push image: plugins/docker + volumes: + - name: dotnet-cache + path: /tmp/ privileged: true settings: repo: hub.musk.fun/k8s/nocr/telegram_listener @@ -33,6 +36,9 @@ steps: - name: nocr telegram listener nuget package make & push image: mcr.microsoft.com/dotnet/sdk:8.0 + volumes: + - name: dotnet-cache + path: /tmp/ environment: VERSION: ${DRONE_TAG} NUGETAPIKEY: @@ -134,6 +140,14 @@ steps: password: from_secret: hub_password -trigger: - event: - - tag +volumes: +- name: dotnet-cache + claim: + name: dotnet-cache-claim +- name: kaniko-cache + claim: + name: kaniko-cache-claim + + #trigger: + # event: + # - tag