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 00717d0c7e
commit 1d3c9dba99
No known key found for this signature in database
GPG key ID: 0EB088298288D958
2 changed files with 4 additions and 8 deletions

View file

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

View file

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