add build script

This commit is contained in:
Ric Harvey
2018-06-17 21:52:12 +01:00
parent 6a018f0d0d
commit 11fb462178

9
.gitlab-ci.yml Normal file
View File

@@ -0,0 +1,9 @@
before_script:
- echo Logging in to Docker Hub...
- docker login -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD"
job:
script:
- echo Build started on `date`
- docker build -t richarvey/nginx-php-fpm:latest
- docker push richarvey/nginx-php-fpm:latest