From e6ee7d475a6061172c00223d3a1548f5bd6edf53 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Sat, 27 Aug 2022 19:02:13 +0100 Subject: [PATCH] Fix bash conditional syntax God I hate bash! --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index c0c74dc..91bff0d 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -151,7 +151,7 @@ container: - docker build --target production -t $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 push $PROD_IMAGE_TAG else