Updated permissions on COPY files

This commit is contained in:
Deon George 2016-08-23 09:57:54 +10:00
parent 47d542277f
commit afb4b45f2a

View File

@ -31,6 +31,9 @@ test:
build: build:
stage: build stage: build
script: script:
- chmod 600 .my.cnf
- chmod 500 init
- chmod 644 10-default.conf
- docker build -t ${DOCKER_IMAGE}:${VERSION} . - docker build -t ${DOCKER_IMAGE}:${VERSION} .
- docker tag ${DOCKER_IMAGE}:${VERSION} ${DOCKER_REGISTRY}/${DOCKER_IMAGE}:${VERSION} - docker tag ${DOCKER_IMAGE}:${VERSION} ${DOCKER_REGISTRY}/${DOCKER_IMAGE}:${VERSION}
- docker push ${DOCKER_REGISTRY}/${DOCKER_IMAGE}:${VERSION} - docker push ${DOCKER_REGISTRY}/${DOCKER_IMAGE}:${VERSION}