From 891ad1be6a973c620d961fc7727c4f11edfcfb4a Mon Sep 17 00:00:00 2001 From: Jack Jackson Date: Mon, 1 Jul 2024 22:57:03 -0700 Subject: [PATCH] Tweak to caching --- .drone.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.drone.yml b/.drone.yml index 5a18804..d617416 100644 --- a/.drone.yml +++ b/.drone.yml @@ -14,6 +14,10 @@ steps: settings: cache_from: - "type=registry\\\\,ref=gitea.scubbo.org/${DRONE_REPO}:${DRONE_BRANCH}" + cache_to: + # https://docs.docker.com/build/cache/backends/registry/ + # `mode=max` necessary in order to cache intermediate stages + - "type=registry,ref=gitea.scubbo.org/${DRONE_REPO}:${DRONE_BRANCH},mode=max" registry: gitea.scubbo.org username: scubbo password: @@ -30,6 +34,7 @@ steps: image: drone/git settings: remote: gitea.scubbo.org/scubbo/helm-charts + ref: refs/heads/main - name: Update Helm Chart image: alpine commands: