Pull known images for caching

This commit is contained in:
Valentin Brandl 2019-04-24 00:05:44 +02:00
parent 17f310efd8
commit 19fc9ef182
No known key found for this signature in database
GPG Key ID: 30D341DD34118D7D

View File

@ -19,6 +19,9 @@ before_script:
build:
stage: build
script:
- docker pull $CONTAINER_TEST_IMAGE || true
- docker pull $CONTAINER_RELEASE_IMAGE || true
- docker pull $CONTAINER_TAG_IMAGE || true
- docker build --pull -t $CONTAINER_TEST_IMAGE .
- docker push $CONTAINER_TEST_IMAGE