diff --git a/.drone.yml b/.drone.yml index e08e14d..6276daa 100644 --- a/.drone.yml +++ b/.drone.yml @@ -38,11 +38,11 @@ steps: from_secret: hub_username password: from_secret: hub_password - args: - - --verbosity=debug -# volumes: -# - name: kaniko-cache -# path: /kaniko + build_args: + - --cache=true --cache-dir=/cache + volumes: + - name: local-cache + path: /cache depends_on: - clone @@ -58,19 +58,19 @@ steps: from_secret: hub_username password: from_secret: hub_password - args: - - --verbosity=debug -# volumes: -# - name: kaniko-cache -# path: /kaniko + build_args: + - --cache=true --cache-dir=/cache + volumes: + - name: local-cache + path: /cache depends_on: - clone volumes: -- name: dotnet-cache +- name: nfs-cache claim: - name: dotnet-cache-claim -- name: kaniko-cache + name: nfs-cache-claim +- name: local-cache claim: - name: kaniko-cache-claim + name: local-cache-claim