Updated .gitlab-ci for last commit

This commit is contained in:
Deon George 2017-06-02 23:00:34 +10:00
parent 87cb0e3615
commit 2b254dba64

View File

@ -33,7 +33,7 @@ build:
script: script:
- chmod 600 .my.cnf sshd_config - chmod 600 .my.cnf sshd_config
- chmod 500 init - chmod 500 init
- chmod 644 *-default.conf sshd - chmod 644 sshd
- 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}