From 3239c4c0379e6a93ac7c643b2126ab74ab3d684b Mon Sep 17 00:00:00 2001 From: Jack Jackson Date: Sun, 23 Jun 2024 16:04:49 -0700 Subject: [PATCH] Introduce caching --- .drone.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.drone.yml b/.drone.yml index 4f5e92b..73e47db 100644 --- a/.drone.yml +++ b/.drone.yml @@ -9,6 +9,8 @@ platform: steps: - name: docker-build-and-push + cache_from: + - "gitea.scubbo.org/${DRONE_REPO}:${DRONE_BRANCH}" image: thegeeklab/drone-docker-buildx # Absurd that this isn't offered as first-party! privileged: true settings: @@ -18,6 +20,7 @@ steps: from_secret: gitea_password repo: gitea.scubbo.org/${DRONE_REPO} tags: + - ${DRONE_BRANCH} - ${DRONE_COMMIT_SHA:0:10} target: prod platforms: