From c13701498539bfd622194b03456a164a381df86c 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 2d9d6ff..2a0896c 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}