Skip to content

Commit

Permalink
ci: added before script to wait on dind
Browse files Browse the repository at this point in the history
  • Loading branch information
lanathlor committed Nov 15, 2024
1 parent 9b8b8cd commit 85fceec
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ tests:
DOCKER_CERT_PATH: '$DOCKER_TLS_CERTDIR/client'
services:
- docker:24.0.5-dind
before_script:
- until docker info; do sleep 1; done
script:
- docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
- docker build
Expand All @@ -69,6 +71,8 @@ clearndr:
DOCKER_CERT_PATH: '$DOCKER_TLS_CERTDIR/client'
services:
- docker:24.0.5-dind
before_script:
- until docker info; do sleep 1; done
script:
- docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
- docker build
Expand Down

0 comments on commit 85fceec

Please sign in to comment.