GoogleContainerTools / kaniko

Build Container Images In Kubernetes
Apache License 2.0
14.78k stars 1.44k forks source link

Cache warmer is broken in v0.15.0 #926

Closed cvgw closed 4 years ago

cvgw commented 4 years ago

Actual behavior Cache warmer never downloads images that are not found in the cache

Expected behavior cache warmer should download images not found in the cache

To Reproduce Steps to reproduce the behavior:

  1. docker run -v $(pwd):/workspace gcr.io/kaniko-project/warmer:latest --cache-dir=/workspace/cache --image=ubuntu:latest

Additional Information This commit broke it https://github.com/GoogleContainerTools/kaniko/commit/a6e458caf1aca5deda542269714cde53becf1544

Triage Notes for the Maintainers

Description Yes/No
Please check if this a new feature you are proposing
  • - [ ]
Please check if the build works in docker but not in kaniko
  • - [ ]
Please check if this error is seen when you use --cache flag
  • - [ ]
Please check if your dockerfile is a multistage dockerfile
  • - [ ]
cvgw commented 4 years ago

Using the --force flag is a temporary work around