fix: use inline cache to avoid cache_from comma splitting bug
This commit is contained in:
parent
00717d0c7e
commit
1d3c9dba99
2 changed files with 4 additions and 8 deletions
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue