Updated permissions on COPY files

This commit is contained in:
Deon George 2016-08-23 09:47:32 +10:00
parent 82f0b2d452
commit 0ccfe0a1a7
2 changed files with 4 additions and 0 deletions

View File

@ -1 +1,2 @@
.git/
image*bz2 image*bz2

View File

@ -31,6 +31,9 @@ test:
build: build:
stage: build stage: build
script: script:
- chmod 600 .my.cnf
- chmod 500 init
- chmod 444 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}