summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml5
1 files changed, 4 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 0357859..8be3ccb 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -43,7 +43,8 @@ integration:
needs:
- build image
services:
- - docker:28-dind
+ - name: docker:28-dind
+ command: ["--tls=false"]
before_script:
- apt-get update && apt-get install --no-install-recommends -y docker.io
- echo "$CI_JOB_TOKEN" | docker login -u gitlab-ci-token --password-stdin "$CI_REGISTRY"
@@ -52,7 +53,9 @@ integration:
variables:
# Variables required by github.com/testcontainers/testcontainers-go
# ref https://golang.testcontainers.org/system_requirements/ci/gitlab_ci/#example-using-dind-docker-in-docker
+ DOCKER_DRIVER: overlay2
DOCKER_HOST: "tcp://docker:2375"
DOCKER_TLS_CERTDIR: ""
IMAGE_TAG: $CONTAINER_IMAGE_COMMIT
SKIP_E2E: "true"
+ TESTCONTAINERS_HOST_OVERRIDE: "host.docker.internal"