fix: use inline cache to avoid cache_from comma splitting bug

This commit is contained in:
Viktor Barzin 2026-02-28 19:56:00 +00:00
parent 3974827ea9
commit 691c74aa30
2 changed files with 4 additions and 8 deletions

View file

@ -26,7 +26,5 @@ steps:
dockerfile: cli/Dockerfile dockerfile: cli/Dockerfile
context: cli context: cli
auto_tag: true auto_tag: true
cache_from: cache_from: "registry.viktorbarzin.me:5050/infra:latest"
- "type=registry,ref=registry.viktorbarzin.me:5050/infra:buildcache" cache_to: "type=inline"
cache_to:
- "type=registry,ref=registry.viktorbarzin.me:5050/infra:buildcache,mode=max"

View file

@ -29,10 +29,8 @@ steps:
platforms: linux/amd64 platforms: linux/amd64
provenance: false provenance: false
tags: latest tags: latest
cache_from: cache_from: "registry.viktorbarzin.me:5050/f1-stream:latest"
- "type=registry,ref=registry.viktorbarzin.me:5050/f1-stream:buildcache" cache_to: "type=inline"
cache_to:
- "type=registry,ref=registry.viktorbarzin.me:5050/f1-stream:buildcache,mode=max"
- name: deploy - name: deploy
image: bitnami/kubectl image: bitnami/kubectl