Fix building standalone image

This commit is contained in:
Tulir Asokan 2019-10-23 01:53:47 +03:00
parent fa77005121
commit 6082a47fdc
2 changed files with 6 additions and 3 deletions

View file

@ -41,7 +41,7 @@ build standalone:
stage: build
script:
- docker pull $CI_REGISTRY_IMAGE:standalone || true
- docker build --pull --cache-from $CI_REGISTRY_IMAGE:standalone --tag $CI_REGISTRY_IMAGE:$CI_COMMIT_SHA-standalone maubot/standalone
- docker build --pull --cache-from $CI_REGISTRY_IMAGE:standalone --tag $CI_REGISTRY_IMAGE:$CI_COMMIT_SHA-standalone . -f maubot/standalone/Dockerfile
- docker push $CI_REGISTRY_IMAGE:$CI_COMMIT_SHA-standalone
push latest standalone: