add .git to .dockerignore when building master images
This commit is contained in:
parent
5cfde4cada
commit
ee18936bfe
|
@ -35,19 +35,23 @@ ttrss-web-nginx:branch:
|
||||||
DOCKERFILE: ${CI_PROJECT_DIR}/.docker/web-nginx/Dockerfile
|
DOCKERFILE: ${CI_PROJECT_DIR}/.docker/web-nginx/Dockerfile
|
||||||
|
|
||||||
ttrss-fpm-pgsql-static:branch:
|
ttrss-fpm-pgsql-static:branch:
|
||||||
extends: .build-branch
|
extends: .build-branch
|
||||||
variables:
|
variables:
|
||||||
DOCKERFILE: ${CI_PROJECT_DIR}/.docker/app/Dockerfile
|
DOCKERFILE: ${CI_PROJECT_DIR}/.docker/app/Dockerfile
|
||||||
|
|
||||||
ttrss-web-nginx:
|
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