How to solve this problem?
During the build you tag with drgou-goods-$CI_COMMIT_SHA:v$CI_JOB_ID but while tagging in the failing docker tag command you leave out the tag. Iâm not sure but I thing you also need to add the tag there so:
docker tag drgou-goods-$CI_COMMIT_SHA:v$CI_JOB_ID registry[âŚ]/drgou-goods:vCI_JOB_ID
Also, for the future, please create a more descriptive title of your post. âNeed help!â is too general (it doesnât describe the issue youâre facing). This is a forum where (almost) everyone seeks help
Iâm very sorry, I almost forgot about it, but my problem is still unsolved."Error response from daemon: no such id: XXXX ", but I use âdocker imagesâ command to check it, it exists, why does gitlab-runner tell it that it canât find the image id: XXXX?After that, I placed the commands âecho $CI_COMMIT_SHAâ and âecho $CI_JOB_IDâ before the error,it got the correct values for the two variables.Please help me solve why gitlab-runner canât get its own tagged image ID.Thanks!
Did you try adding the tag in the command like I mentioned in my previous post? I canât see that you did from what you posted.