maven is build got success but after that build the docker fails bash: Build: command not found
my image is
image: maven:3.9.5
docker cache also failed
Cache "docker: docker.tar": Downloading Cache "docker: docker.tar": Not found Cache
Hello @Santhosh Durai ,
and welcome to the Community!
The issue with command not found is usually caused by one of the following scenarios:
The steps to mitigate this issue are different based on which of the above scenarios is affecting your build, and we have a detailed article on the topic with suggested solutions to help diagnose and fix this issue which can help you move forward:
If after going through that article you have any questions, please let us know.
As for the cache issue, caches are only generated in successful steps and expire in 7 days. Since your build is failing, it didn't generate a new cache, and any old cache you may had from a previous success build likely expired because it was older than 7 days. In this case, a new cache will be generated in the following successful build.
I hope that helps :) Should you have any questions, feel free to ask.
Thank you, @Santhosh Durai !
Patrik S
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.