From 87bb61e47109e23978c6a2629548752981970e86 Mon Sep 17 00:00:00 2001 From: "Ehsan.Asadi" Date: Tue, 30 Dec 2025 22:03:44 +0330 Subject: [PATCH] fix: remove problematic cache settings from Docker buildx - Remove cache_from and cache_to that cause parsing errors - Keep pull: true for layer caching - Simpler configuration that works reliably - Docker will still use local cache automatically Error was: type required form> "ref=..." Cause: Woodpecker plugin doesn't support complex cache syntax --- .woodpecker.yml | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index 5f6ac5d..2cebf52 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -41,8 +41,7 @@ pipeline: - org.opencontainers.image.source=${CI_REPO_LINK} - org.opencontainers.image.title=Peikarband Base - cache_from: type=registry,ref=hub.peikarband.ir/peikarband/base:latest - cache_to: type=inline + pull: true provenance: false push: true @@ -84,8 +83,7 @@ pipeline: - org.opencontainers.image.title=Peikarband Landing - org.opencontainers.image.description=Peikarband hosting platform landing page - cache_from: type=registry,ref=hub.peikarband.ir/peikarband/landing:buildcache - cache_to: type=inline + pull: true provenance: false push: false @@ -130,8 +128,7 @@ pipeline: - org.opencontainers.image.title=Peikarband Landing - org.opencontainers.image.description=Peikarband hosting platform landing page - cache_from: type=registry,ref=hub.peikarband.ir/peikarband/landing:buildcache - cache_to: type=inline + pull: true provenance: false push: true