I am using the docker:stable image to run the gitlab job.
image: "docker:stable"
services:
- docker:dind
before_script:
- apk update
- apk add py-pip jq bash
- pip install awscli
- |
if [[ $CI_COMMIT_MESSAGE = *"_check"* ]]; then
I am seeing the following error in the pipeline log.
$ if [[ $CI_COMMIT_MESSAGE = *"_check"* ]]; then # collapsed multi-line command
sh: -Committing: unknown operand
Does anyone know why I am getting unknown operand or any tips how to capture and fix it?