fix: remove problematic cache settings from Docker buildx
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user