Ah, thanks to sytse, Snappy and tmaczukin for the replis. I missed that.
My configuration looks like this currently (and I'm guessing I'll hold of for a few days for the shared workers to get updated):
image: docker:latest
services:
- docker:dind
stages:
- build
- deploy
build:
stage: build
script:
- docker build -t registry.gitlab.com/victorbjelkholm/deploy-html-test:latest .
only:
- master
deploy:
stage: deploy
script:
- docker push registry.gitlab.com/victorbjelkholm/deploy-html-test:latest
only:
- master