add build script
This commit is contained in:
9
.gitlab-ci.yml
Normal file
9
.gitlab-ci.yml
Normal 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
|
||||||
Reference in New Issue
Block a user