add .git to .dockerignore when building master images
This commit is contained in:
parent
5cfde4cada
commit
ee18936bfe
|
@ -43,11 +43,15 @@ ttrss-web-nginx:
|
||||||
extends: .build-master-commit-only
|
extends: .build-master-commit-only
|
||||||
variables:
|
variables:
|
||||||
DOCKERFILE: ${CI_PROJECT_DIR}/.docker/web-nginx/Dockerfile
|
DOCKERFILE: ${CI_PROJECT_DIR}/.docker/web-nginx/Dockerfile
|
||||||
|
before_script:
|
||||||
|
- echo .git >> ${CI_PROJECT_DIR}/.dockerignore
|
||||||
|
|
||||||
ttrss-fpm-pgsql-static:
|
ttrss-fpm-pgsql-static:
|
||||||
extends: .build-master-commit-only
|
extends: .build-master-commit-only
|
||||||
variables:
|
variables:
|
||||||
DOCKERFILE: ${CI_PROJECT_DIR}/.docker/app/Dockerfile
|
DOCKERFILE: ${CI_PROJECT_DIR}/.docker/app/Dockerfile
|
||||||
|
before_script:
|
||||||
|
- echo .git >> ${CI_PROJECT_DIR}/.dockerignore
|
||||||
|
|
||||||
phpdoc:
|
phpdoc:
|
||||||
image: ${PHP_IMAGE}
|
image: ${PHP_IMAGE}
|
||||||
|
|
Loading…
Reference in New Issue