diff --git a/Dockerfile b/Dockerfile index f6bbb49..f27702b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,4 +6,4 @@ RUN chgrp -R www-data /var/www/html/storage /var/www/html/bootstrap/cache && \ find /var/www/html/storage -type d -exec chmod 775 {} + && \ find /var/www/html/bootstrap/cache -type d -exec chmod 775 {} + && \ find /var/www/html/storage -type f -exec chmod 644 {} + && \ - find /var/www/html/bootstrap/cache -type f -exec chmod 644 {} + + find /var/www/html/bootstrap/cache -type f -exec chmod 644 {} + diff --git a/Jenkinsfile b/Jenkinsfile index 1102d01..df1be46 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -23,10 +23,10 @@ node('php'){ ) } stage('Docker Build') { - sh 'docker build -t jeffersonsouza/todoapi:$BUILD_NUMBER .' + sh 'docker build -t davidosantos/todoapi:$BUILD_NUMBER .' } stage('Docker Ship') { - sh 'docker push jeffersonsouza/todoapi:$BUILD_NUMBER' + sh 'docker push davidosantos/todoapi:$BUILD_NUMBER' } }