Fix bash conditional syntax
God I hate bash!
This commit is contained in:
parent
6272307e35
commit
e6ee7d475a
1 changed files with 1 additions and 1 deletions
|
@ -151,7 +151,7 @@ container:
|
||||||
- docker build --target production -t $DEV_IMAGE_TAG .
|
- docker build --target production -t $DEV_IMAGE_TAG .
|
||||||
- docker push $DEV_IMAGE_TAG
|
- docker push $DEV_IMAGE_TAG
|
||||||
- >
|
- >
|
||||||
if [ "$CI_COMMIT_REF_SLUG" == "master"]; then
|
if [ "$CI_COMMIT_REF_SLUG" == "master" ]; then
|
||||||
docker tag $DEV_IMAGE_TAG $PROD_IMAGE_TAG
|
docker tag $DEV_IMAGE_TAG $PROD_IMAGE_TAG
|
||||||
docker push $PROD_IMAGE_TAG
|
docker push $PROD_IMAGE_TAG
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue