add done
This commit is contained in:
@@ -13,6 +13,6 @@ build:
|
|||||||
stage: build
|
stage: build
|
||||||
script:
|
script:
|
||||||
- echo Build started on `date` for $CI_COMMIT_REF_NAME
|
- echo Build started on `date` for $CI_COMMIT_REF_NAME
|
||||||
- if [[ "$CI_REGISTRY" =~ "master" ]]; then export build=latest else build=$CI_REGISTRY fi
|
- if [[ "$CI_REGISTRY" =~ "master" ]]; then export build=latest done else build=$CI_REGISTRY fi
|
||||||
- docker build -t richarvey/nginx-php-fpm:"$build" .
|
- docker build -t richarvey/nginx-php-fpm:"$build" .
|
||||||
- docker push richarvey/nginx-php-fpm:"$build"
|
- docker push richarvey/nginx-php-fpm:"$build"
|
||||||
|
|||||||
Reference in New Issue
Block a user