Error processing tar file(exit status 1): write /.semaphore-cache/docker-images/d7f96c64f958.tar: no space left on device
This is due to Semaphore CI will create a folder ./.semaphore-cache inside your project root. If you build docker file use ADD . ., It will add all the cache in that folder into your docker image, Next time you use docker-cache snapshot it will store to that file, So it become bigger and bigger.
Solution: add .dockerignore file inside your project
This is due to Semaphore CI will create a folder ./.semaphore-cache inside your project root. If you build docker file use
ADD . .
, It will add all the cache in that folder into your docker image, Next time you usedocker-cache snapshot
it will store to that file, So it become bigger and bigger.Solution: add
.dockerignore
file inside your project