Remove attempt to curl
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user