Update .gitlab-ci.yml

This commit is contained in:
William Nolin 2021-02-12 22:28:34 -05:00
parent b7e0be0d84
commit 92f157758e
1 changed files with 3 additions and 0 deletions

View File

@ -13,6 +13,9 @@ stages:
build:
stage: build
only:
refs:
- master
script:
- docker pull $CI_REGISTRY_IMAGE_NG || true
- docker build --cache-from $CI_REGISTRY_IMAGE_NG -f ng.Dockerfile -t $CI_REGISTRY_IMAGE_NG .