CI fixes for test tagging

This commit is contained in:
Deon George 2020-08-24 15:58:49 +10:00
parent b3ae5f32a3
commit c90446b059

View File

@ -48,7 +48,7 @@ x86_64:build-test:
script:
- if [ -f init ]; then chmod 500 init; fi
- ([ -z "$REFRESH" ] && docker pull ${CI_REGISTRY_IMAGE}:${CACHETAG}) || echo "true"
- docker build --file Dockerfile.phptest --cache-from ${CI_REGISTRY_IMAGE}:${CACHETAG} -t ${CI_REGISTRY_IMAGE}:${VERSION} -t ${CI_REGISTRY_IMAGE}:${CACHETAG} .
- docker build --file Dockerfile.phptest --cache-from ${CI_REGISTRY_IMAGE}:${CACHETAG} -t ${CI_REGISTRY_IMAGE}:${VERSION}-test
- docker push ${CI_REGISTRY_IMAGE}:${VERSION}-test
tags:
- docker