fix: remove problematic cache settings from Docker buildx
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed

- 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
This commit is contained in:
Ehsan.Asadi
2025-12-30 22:03:44 +03:30
parent dc9faa989f
commit 87bb61e471

View File

@@ -41,8 +41,7 @@ pipeline:
- org.opencontainers.image.source=${CI_REPO_LINK} - org.opencontainers.image.source=${CI_REPO_LINK}
- org.opencontainers.image.title=Peikarband Base - org.opencontainers.image.title=Peikarband Base
cache_from: type=registry,ref=hub.peikarband.ir/peikarband/base:latest pull: true
cache_to: type=inline
provenance: false provenance: false
push: true push: true
@@ -84,8 +83,7 @@ pipeline:
- org.opencontainers.image.title=Peikarband Landing - org.opencontainers.image.title=Peikarband Landing
- org.opencontainers.image.description=Peikarband hosting platform landing page - org.opencontainers.image.description=Peikarband hosting platform landing page
cache_from: type=registry,ref=hub.peikarband.ir/peikarband/landing:buildcache pull: true
cache_to: type=inline
provenance: false provenance: false
push: false push: false
@@ -130,8 +128,7 @@ pipeline:
- org.opencontainers.image.title=Peikarband Landing - org.opencontainers.image.title=Peikarband Landing
- org.opencontainers.image.description=Peikarband hosting platform landing page - org.opencontainers.image.description=Peikarband hosting platform landing page
cache_from: type=registry,ref=hub.peikarband.ir/peikarband/landing:buildcache pull: true
cache_to: type=inline
provenance: false provenance: false
push: true push: true