Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 {} +
4 changes: 2 additions & 2 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -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'
}
}