This commit is contained in:
Ric Harvey
2018-06-18 18:39:24 +01:00
parent e60506816f
commit 0adc03db28

View File

@@ -13,6 +13,6 @@ build:
stage: build
script:
- echo Build started on `date` for $CI_COMMIT_REF_NAME
- f [[ "$CI_REGISTRY" =~ "master" ]]; then export build=latest else build=$CI_REGISTRY fi
- if [[ "$CI_REGISTRY" =~ "master" ]]; then export build=latest else build=$CI_REGISTRY fi
- docker build -t richarvey/nginx-php-fpm:"$build" .
- docker push richarvey/nginx-php-fpm:"$build"