From afb4b45f2a7b750a244b5f437638848bc358cb88 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 1b5a33f..dbac3c4 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}