fix: use YAML list for cache_from/cache_to to prevent comma splitting
This commit is contained in:
parent
00d78c2337
commit
0ebf850893
2 changed files with 8 additions and 4 deletions
|
|
@ -26,8 +26,10 @@ steps:
|
||||||
dockerfile: cli/Dockerfile
|
dockerfile: cli/Dockerfile
|
||||||
context: cli
|
context: cli
|
||||||
auto_tag: true
|
auto_tag: true
|
||||||
cache_from: type=registry,ref=registry.viktorbarzin.lan:5050/infra:buildcache
|
cache_from:
|
||||||
cache_to: type=registry,ref=registry.viktorbarzin.lan:5050/infra:buildcache,mode=max
|
- "type=registry,ref=registry.viktorbarzin.lan:5050/infra:buildcache"
|
||||||
|
cache_to:
|
||||||
|
- "type=registry,ref=registry.viktorbarzin.lan:5050/infra:buildcache,mode=max"
|
||||||
buildkit_config: |
|
buildkit_config: |
|
||||||
[registry."registry.viktorbarzin.lan:5050"]
|
[registry."registry.viktorbarzin.lan:5050"]
|
||||||
http = true
|
http = true
|
||||||
|
|
|
||||||
|
|
@ -29,8 +29,10 @@ steps:
|
||||||
platforms: linux/amd64
|
platforms: linux/amd64
|
||||||
provenance: false
|
provenance: false
|
||||||
tags: latest
|
tags: latest
|
||||||
cache_from: type=registry,ref=registry.viktorbarzin.lan:5050/f1-stream:buildcache
|
cache_from:
|
||||||
cache_to: type=registry,ref=registry.viktorbarzin.lan:5050/f1-stream:buildcache,mode=max
|
- "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: |
|
buildkit_config: |
|
||||||
[registry."registry.viktorbarzin.lan:5050"]
|
[registry."registry.viktorbarzin.lan:5050"]
|
||||||
http = true
|
http = true
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue