Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
image: docker:latest
services:
- docker:dind
before_script:
- docker login -u username -p password
build:
stage: build
script:
- docker build -t username/hogehoge:latest .
- docker push username/hogehoge:latest
tags:
- docker
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment