diff --git a/.drone.yml b/.drone.yml index d617416..4a34340 100644 --- a/.drone.yml +++ b/.drone.yml @@ -12,12 +12,18 @@ steps: image: thegeeklab/drone-docker-buildx # Absurd that this isn't offered as first-party! privileged: true settings: + # Consider testing with this if the cache-to arguments don't help! + # args: + # - BUILDKIT_INLINE_CACHE=1 cache_from: - - "type=registry\\\\,ref=gitea.scubbo.org/${DRONE_REPO}:${DRONE_BRANCH}" + - "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" + # + # https://github.com/go-gitea/gitea/issues/28973#issuecomment-1961859655 + # Some parameters are necessary in order to make the push to gitea succeed + - "type=registry,ref=gitea.scubbo.org/${DRONE_REPO}:${DRONE_BRANCH},mode=max,image-manifest=true,oci-mediatypes=true" registry: gitea.scubbo.org username: scubbo password: