fix: CI pipeline - disable corrupted cache, add pull before push
- build-cli.yml: comment out cache_from/cache_to to avoid BuildKit "short read" errors from corrupted registry cache - default.yml: add git pull --rebase before push in cleanup-and-push to handle remote having newer commits
This commit is contained in:
parent
6f94d6fc13
commit
24c4cd32a5
2 changed files with 6 additions and 2 deletions
|
|
@ -26,5 +26,8 @@ steps:
|
|||
dockerfile: cli/Dockerfile
|
||||
context: cli
|
||||
auto_tag: true
|
||||
cache_from: "registry.viktorbarzin.me:5050/infra:latest"
|
||||
cache_to: "type=inline"
|
||||
# cache_from/cache_to removed: registry cache corruption causes
|
||||
# "short read: expected 32 bytes" BuildKit errors. Inline cache
|
||||
# will be re-populated once a clean image is pushed.
|
||||
# cache_from: "registry.viktorbarzin.me:5050/infra:latest"
|
||||
# cache_to: "type=inline"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue