You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Following the fixmycar sample-app here , while running the script ./dockerpush.sh the script ends with the following error: An image does not exist locally with the tag: us-central1-docker.pkg.dev/PROJECT-ID/fixmycar/backend-vertex-ai-search
Relevant log output
(The PROJECT-ID in my code is OK, I've replaced it here for generic PROJECT-ID)ERROR: failed to solve: failed to compute cache key: failed to calculate checksum of ref e023d94f-882c-4f28-b70c-709c68f26350::dvrktl1idtinjgmwkje9cv3l1: "/.mvn": not foundThe push refers to repository [us-central1-docker.pkg.dev/PROJECT-ID/fixmycar/backend-vertex-ai-search]An image does not exist locally with the tag: us-central1-docker.pkg.dev/PROJECT-ID/fixmycar/backend-vertex-ai-search
Code of Conduct
I agree to follow this project's Code of Conduct
The text was updated successfully, but these errors were encountered:
Hello! if you're seeing an error that An image does not exist locally, that usually means the docker build step failed, and there's no container image to push.
During the build, looks like you got an err: "/.mvn": not found. Did you install Maven 3.9+ during the prerequisites?
if Maven is correctly installed, you should be able to run this.
For me, this is issue was caused by the omission of the wrapper from the git repository (probably due to the .gitignore) To fix this issue, I did the following...
Changed directory to gemini/sample-apps/fixmycar/vertex-ai-search/backend
Executed mvn wrapper:wrapper
Change back to the the vertex-ai-search directory and the execute ./dockerpush.sh
After this, the docker push worked successfully. Hope this helps.
File Name
https://github.com/GoogleCloudPlatform/generative-ai/blob/main/gemini/sample-apps/fixmycar/vertex-ai-search/dockerpush.sh
What happened?
Following the fixmycar sample-app here , while running the script
./dockerpush.sh
the script ends with the following error:An image does not exist locally with the tag: us-central1-docker.pkg.dev/PROJECT-ID/fixmycar/backend-vertex-ai-search
Relevant log output
Code of Conduct
The text was updated successfully, but these errors were encountered: