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