Adding --no-cache to docker build command in .gitlab-ci.yml.

This commit is contained in:
Alexey Skobkin 2022-01-20 04:00:30 +03:00
parent 46e417162a
commit f0c612a54f

View file

@ -15,7 +15,7 @@ build:
- docker:19.03.12-dind - docker:19.03.12-dind
stage: build stage: build
script: script:
- docker build -t $BUILT_IMAGE_TAG . - docker build -t $BUILT_IMAGE_TAG --no-cache .
- docker save -o $CI_PROJECT_DIR/images.tar $BUILT_IMAGE_TAG - docker save -o $CI_PROJECT_DIR/images.tar $BUILT_IMAGE_TAG
artifacts: artifacts:
paths: paths: