I have following docker command in gitlab CI file .gitlab-ci.yml
docker build --pull -t "${CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG}" .
getting following error after build stage:
invalid argument "." for "-t, --tag" flag: invalid reference format See 'docker build --help'.
any help , how to pass the variables ? Thanks