Adding --no-cache to docker build command in .gitlab-ci.yml.
This commit is contained in:
parent
46e417162a
commit
f0c612a54f
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue