From 0ebf850893d090a8fc2b8ef38ece2e604358abaf Mon Sep 17 00:00:00 2001 From: Viktor Barzin Date: Sat, 28 Feb 2026 18:40:55 +0000 Subject: [PATCH] fix: use YAML list for cache_from/cache_to to prevent comma splitting --- .woodpecker/build-cli.yml | 6 ++++-- .woodpecker/f1-stream.yml | 6 ++++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/.woodpecker/build-cli.yml b/.woodpecker/build-cli.yml index 6b81bd7d..dc61bddc 100644 --- a/.woodpecker/build-cli.yml +++ b/.woodpecker/build-cli.yml @@ -26,8 +26,10 @@ steps: dockerfile: cli/Dockerfile context: cli auto_tag: true - cache_from: type=registry,ref=registry.viktorbarzin.lan:5050/infra:buildcache - cache_to: type=registry,ref=registry.viktorbarzin.lan:5050/infra:buildcache,mode=max + cache_from: + - "type=registry,ref=registry.viktorbarzin.lan:5050/infra:buildcache" + cache_to: + - "type=registry,ref=registry.viktorbarzin.lan:5050/infra:buildcache,mode=max" buildkit_config: | [registry."registry.viktorbarzin.lan:5050"] http = true diff --git a/.woodpecker/f1-stream.yml b/.woodpecker/f1-stream.yml index 94557aee..02ed70d1 100644 --- a/.woodpecker/f1-stream.yml +++ b/.woodpecker/f1-stream.yml @@ -29,8 +29,10 @@ steps: platforms: linux/amd64 provenance: false tags: latest - cache_from: type=registry,ref=registry.viktorbarzin.lan:5050/f1-stream:buildcache - cache_to: type=registry,ref=registry.viktorbarzin.lan:5050/f1-stream:buildcache,mode=max + cache_from: + - "type=registry,ref=registry.viktorbarzin.lan:5050/f1-stream:buildcache" + cache_to: + - "type=registry,ref=registry.viktorbarzin.lan:5050/f1-stream:buildcache,mode=max" buildkit_config: | [registry."registry.viktorbarzin.lan:5050"] http = true