Usei o codigo apresentado na aula:
image: docker:stable
services:
- docker:dind
before_script:
- docker info
build-docker:
stage: build
script:
- docker build - t todo-list-img .
E aparece o erro:
$ docker build - t todo-list-img .
"docker build" requires exactly 1 argument.
See 'docker build --help'.
Usage: docker build [OPTIONS] PATH | URL | -
Build an image from a Dockerfile
Cleaning up file based variables
00:00
ERROR: Job failed: exit code 1