Remove attempt to curl

This commit is contained in:
2020-12-28 18:34:07 +01:00
parent 179688d8c0
commit 8d1a4408ce

View File

@ -47,11 +47,8 @@ start_registry:
# It's pushed to the pipeline-local registry which acts as a cache
build_docker:
stage: docker_test
before_script:
- apk add --no-cache curl
script:
# Make sure we can connect to the registry service
- curl http://docker:5000/v2/
- docker pull $CI_REGISTRY_IMAGE:latest || true
- docker build --cache-from $CI_REGISTRY_IMAGE:latest --tag $CI_LOCAL_REGISTRY_IMAGE:$CI_COMMIT_SHORT_SHA --tag $CI_LOCAL_REGISTRY_IMAGE:latest .
- docker push $CI_LOCAL_REGISTRY_IMAGE:$CI_COMMIT_SHORT_SHA