Skip to content
Snippets Groups Projects
Commit 0931630f authored by Chris Hines's avatar Chris Hines
Browse files

use dockerhub in pipeline

parent 8076a1b0
No related branches found
No related tags found
No related merge requests found
......@@ -4,18 +4,16 @@ stages:
build:
image: docker:stable
variables:
DOCKER_HOST: tcp://docker:2375/
DOCKER_DRIVER: overlay2
services:
- docker:dind
stage: build
script:
- docker login -u $DOCKERHUBUSER -p $DOCHERHUBPASSWORD hub.docker.com
- docker build --tag=tes .
- docker save tes:latest > tes.tar.gz
- docker push l1ll1/tes:latest
artifacts:
paths:
- tes.tar.gz
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment