Skip to content
Snippets Groups Projects
Commit 07de6d6a authored by Steve Reis's avatar Steve Reis
Browse files

Add gitlab CI

parent f9387bc4
No related branches found
No related tags found
No related merge requests found
services:
- docker:dind
stages:
- build
- deploy
build:
stage: build
variables:
IMAGE_TAG: $CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG
script:
- docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
- docker build -t $IMAGE_TAG .
- docker push $IMAGE_TAG
only:
- main
- develop
- /^release-.*$/
deploy:
stage: deploy
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