Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
22 lines (16 sloc) 474 Bytes
image: docker:stable
services:
- docker:dind
variables:
DOCKER_HOST: tcp://docker:2375
DOCKER_DRIVER: overlay2
before_script:
- echo "$DOCKER_HUB_PASSWORD" | docker login -u devlandserviceworker --password-stdin
stages:
- build
Build:
stage: build
script:
- docker build --tag jgrancell/turtleshell:latest --tag jgrancell/turtleshell:$CI_BUILD_REF .
- docker push jgrancell/turtleshell:$CI_BUILD_REF
- docker push jgrancell/turtleshell:latest
You can’t perform that action at this time.