From e1da6bacd61ec8e494c7e29b69895d722b6ab6db Mon Sep 17 00:00:00 2001 From: Deon George Date: Tue, 23 Aug 2016 09:57:54 +1000 Subject: [PATCH] Updated permissions on COPY files --- .gitlab-ci.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 3e0f8b2..4a44586 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 644 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}