diff --git a/.dockerignore b/.dockerignore index 26401e8..0b74adb 100644 --- a/.dockerignore +++ b/.dockerignore @@ -1 +1,2 @@ +.git/ image*bz2 diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 96cd262..8e02c31 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -31,6 +31,9 @@ test: build: stage: build script: + - chmod 600 .my.cnf + - chmod 500 init + - chmod 444 10-default.conf - docker build -t ${DOCKER_IMAGE}:${VERSION} . - docker tag ${DOCKER_IMAGE}:${VERSION} ${DOCKER_REGISTRY}/${DOCKER_IMAGE}:${VERSION} - docker push ${DOCKER_REGISTRY}/${DOCKER_IMAGE}:${VERSION}