Commit 669909fc authored by Marie FU's avatar Marie FU

Add .gitlab-ci.yml

parent 00be2507
image: docker:latest
services:
- docker:dind
variables:
IMAGE_TAG: $DOCKER_USERNAME/gargantools:$CI_COMMIT_REF_SLUG
stages:
- build
build:
stage: build
script:
- echo $DOCKER_PASSWORD | docker login -u $DOCKER_USERNAME --password-stdin
- docker build -t $IMAGE_TAG .
- docker push $IMAGE_TAG
only:
- master
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment