GitLab CI No space left on device


I have been trying to set up a GitLab CI pipeline to build an Android Project. I started by creating a clone repo of my original repo and setup a pipeline there. Then I tried to set up the same pipeline to my original repo. While the build job at the clone repo is successful at the original repo the jobs are failing with the following error:

[32;1m$ echo y | android-sdk-linux/tools/bin/sdkmanager “platforms;android-${ANDROID_COMPILE_SDK}” >/dev/nulle[0;m
Warning: File /root/.android/repositories.cfg could not be loaded.
Warning: An error occurred while preparing SDK package Android SDK Platform 28: No space left on device.

I am wondering what I have not setup properly on the original repo and I am getting this error.