image: docker:latest
services:
- docker:dind
before_script:
- docker info
build:
stage: build
script:
- docker build -t registry.leenooks.net/leenooks/base .
after:
stage: deploy
- docker push registry.leenooks.net/leenooks/base