Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
yminer committed Jan 2, 2025
1 parent ac3da41 commit dc95d5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/e2e/Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ class HarborChartFreshInstallPipelineExecutor extends FreshInstallPipelineExecut
script.usernamePassword(credentialsId: "79e9fd98-cdf5-4f55-81fa-ecba01365534", usernameVariable: "DOCKER_HUB_USERNAME", passwordVariable: "DOCKER_HUB_PASSWORD")]) {
script.sh """
# Set proxy registry or docker credential to bypass Docker Hub rate limit
echo "PROXY_REGISTRY is \${PROXY_REGISTRY}"
if [[ "\${PROXY_REGISTRY}" != "" ]]; then
# set deafult registry to a proxy registry
echo "PROXY_REGISTRY is \${PROXY_REGISTRY}"
echo '{
"registry-mirrors": ["'"\${PROXY_REGISTRY}"'"]
}' | sudo tee /etc/docker/daemon.json > /dev/null
Expand Down

0 comments on commit dc95d5c

Please sign in to comment.