Skip to content
Snippets Groups Projects
Commit 3313abd0 authored by Valerio Formato's avatar Valerio Formato
Browse files

Add CI pipeline

parent eb70836a
No related branches found
No related tags found
No related merge requests found
stages:
- build
# TEMPLATES
build:
stage: build
image: docker:stable
except:
- master
variables:
DOCKER_HOST: tcp://docker:2375/
DOCKER_DRIVER: overlay2
services:
- docker:dind
script:
- docker login --username vformato --password $dockerhubtoken
- docker build -t vformato/pms-ci:$CI_COMMIT_BRANCH .
- docker push vformato/pms-ci:$CI_COMMIT_BRANCH
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