Nice way to get docker to stop complaining

This commit is contained in:
William Miceli
2019-03-28 16:22:32 -04:00
parent e2e63ae497
commit 5b40def442

View File

@@ -14,7 +14,7 @@ variables:
before_script: before_script:
- docker info - docker info
- docker login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" $CI_REGISTRY - echo "$CI_REGISTRY_PASSWORD" | docker login -u "$CI_REGISTRY_USER" --password-stdin
build: build:
stage: Build Image stage: Build Image
@@ -38,4 +38,5 @@ push-other:
cleanup: cleanup:
stage: Cleanup Runner stage: Cleanup Runner
script: script:
- docker logout
- docker image prune --all --force - docker image prune --all --force