Use correct registry name

This commit is contained in:
2020-12-28 16:08:04 +01:00
parent 07b65bee1f
commit 3ec7aace8a

View File

@@ -48,7 +48,7 @@ build_docker:
- apk add --no-cache curl
script:
# Make sure we can connect to the registry service
- curl http://localhost:5000/v2/
- curl http://registry: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