Available in Classic and VPC
You might run into the following problems when using SourceBuild. Find out causes and possible solutions.
Error when uploading build result
Build was successful, but an error occurs when uploading the build result.
Cause
This error may occur when the directory for the build result was set incorrectly.
Solution
- Verify the directory or file path for saving build results.
- Use the Command after build feature to check if the
/builddirectory is created properly.
Docker Rate Limit error when using Public Registry for build environment image
The "Docker Rate Limit" error occurs when using Public Registry for build environment image.
Cause
When using Public Registry, the image is imported via Docker Hub. And since many users use the service, the rate limit may occur. Docker Hub limits the number of image pulls within a specific time period to prevent excessive usage (see Docker Hub pull usage and limits). We cannot provide specific limit criteria or removal conditions as Docker sets these limits based on their policies.
Solution
To build without Docker Hub's rate limit, we recommend uploading the image to use to Container Registry manually and using the image as the build environment image.
Follow these steps to solve this problem:
- From the NAVER Cloud Platform console, click
> Services > Containers > Container Registry in order. - See Check and manage Container Registry information and upload the image to use to Container Registry's registry.
- From the NAVER Cloud Platform console, click
> Services > Developer Tools > SourceBuild in order. - Select the project to change the settings for, and click the [Change settings] button.
- When the Set build project page appears, select the Container Registry's image in the Build environment image.
- Change to the image uploaded to the registry, and click the [Apply] button.
Docker Rate Limit error when using Docker build
The "Docker Rate Limit" error occurs when using Docker build.
Cause
The base image to be used for Dockerfile's FROM clause is imported via Docker Hub. And since many users use this service, the rate limit may occur. Docker Hub limits the number of image pulls within a specific time period to prevent excessive usage (see Docker Hub pull usage and limits).
Solution
To build without Docker Hub's rate limit, we recommend uploading the image to use to Container Registry manually and using the image as the base image for Dockerfile.
Follow these steps to solve this problem:
- From the NAVER Cloud Platform console, click
> Services > Containers > Container Registry in order. - See Check and manage Container Registry information and upload the base image to use for Dockerfile to Container Registry's registry.
- Edit the FROM clause so that Dockerfile uses the image uploaded to Container Registry as the base image, and apply the change.
See Enable Public Registry to set that anyone can download (pull) images without a separate authentication process.
Learning resources
We offer various materials for you to explore. To learn more about SourceBuild, check out these helpful links:
- FAQs: frequently asked questions from SourceBuild users
- NAVER Cloud Platform blog: SourceDeploy & SourceBuild - provides Github Enterprise Server integration feature
- NAVER Cloud Platform blog: Deploy applications to Kubernetes clusters - Practice using NAVER Cloud Platform's Developer Tools
- API guides: SourceBuild API guides
If you're still having trouble finding what you need, click on the feedback icon and send us your thoughts and requests. We'll use your feedback to improve this guide.