perf: route registry traffic through LAN instead of internet
Use internal registry at 10.10.10.10:5050 instead of git.daddelolymp.de which routes through Pangolin proxy over internet (40Mbit bottleneck). All layer cache pulls/pushes and image pushes now stay on LAN.
This commit is contained in:
parent
852bda73f6
commit
8d663f2392
1 changed files with 63 additions and 61 deletions
|
|
@ -2,7 +2,8 @@ stages:
|
|||
- build
|
||||
|
||||
variables:
|
||||
IMAGE_NAME: "$CI_REGISTRY/$CI_PROJECT_PATH"
|
||||
INTERNAL_REGISTRY: "10.10.10.10:5050"
|
||||
IMAGE_NAME: "$INTERNAL_REGISTRY/$CI_PROJECT_PATH"
|
||||
CI_SERVER_URL: "http://10.10.10.10:9080"
|
||||
GITLAB_FEATURES: ""
|
||||
|
||||
|
|
@ -19,7 +20,7 @@ docker-build:
|
|||
cat > /kaniko/.docker/config.json <<EOF
|
||||
{
|
||||
"auths": {
|
||||
"$CI_REGISTRY": {
|
||||
"$INTERNAL_REGISTRY": {
|
||||
"username": "$CI_REGISTRY_USER",
|
||||
"password": "$CI_REGISTRY_PASSWORD"
|
||||
}
|
||||
|
|
@ -58,4 +59,5 @@ docker-build:
|
|||
--build-arg "VITE_APP_VERSION=$VERSION" \
|
||||
--cache=true \
|
||||
--cache-repo="$IMAGE_NAME/cache" \
|
||||
--insecure-registry=$INTERNAL_REGISTRY \
|
||||
$DESTINATIONS
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue