modify docker login to include index

This commit is contained in:
Ric Harvey
2018-06-18 18:14:49 +01:00
parent 8dcf6aa5bd
commit ac9c7024b4

View File

@@ -7,7 +7,8 @@ stages:
before_script: before_script:
- echo Logging in to Docker Hub... - echo Logging in to Docker Hub...
- docker login -username richarvey --password-stdin $DOCKER_PASSWORD - docker login -u $USER -p $PASS index.docker.io
- docker login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" $CI_REGISTRY
build: build:
stage: build stage: build