fix(ci): override git clone url to local ip

This commit is contained in:
Bot 2026-02-26 21:08:22 +01:00
parent 46a82b7daa
commit 1feb7b0836

View file

@ -5,6 +5,9 @@ variables:
IMAGE_NAME: $DOCKERHUB_USERNAME/discordsoundbot-vib IMAGE_NAME: $DOCKERHUB_USERNAME/discordsoundbot-vib
DOCKER_DRIVER: overlay2 DOCKER_DRIVER: overlay2
DOCKER_TLS_CERTDIR: "" DOCKER_TLS_CERTDIR: ""
# Force clone via IP instead of hostname to bypass Unraid Docker DNS issues
CI_SERVER_URL: "http://10.10.10.10:9080"
GITLAB_FEATURES: ""
docker-build: docker-build:
stage: build stage: build
@ -31,9 +34,9 @@ docker-build:
export VERSION="1.1.0-dev" export VERSION="1.1.0-dev"
export CHANNEL="dev" export CHANNEL="dev"
fi fi
- echo "Building for channel $CHANNEL with version $VERSION and tag $TAG" - echo "Building for channel $CHANNEL with version $VERSION and tag $TAG"
# Build # Build
- docker pull $IMAGE_NAME:$TAG || true - docker pull $IMAGE_NAME:$TAG || true
- > - >