summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitlab-ci.yml9
1 files changed, 4 insertions, 5 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 44a53bb..9f9cecb 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -41,15 +41,14 @@ integration:
- build image
services:
- docker:28-dind
- 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_HOST: "tcp://docker:2375"
- DOCKER_TLS_CERTDIR: ""
before_script:
- apt-get update && apt-get install -y docker.io
- echo "$CI_JOB_TOKEN" | docker login -u gitlab-ci-token --password-stdin "$CI_REGISTRY"
script:
- go test -tags=integration ./test/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_HOST: "tcp://docker:2375"
+ DOCKER_TLS_CERTDIR: ""
IMAGE_TAG: $CONTAINER_IMAGE_COMMIT