Commit 2c24d4a9 authored by Sigmund Augdal's avatar Sigmund Augdal

Added gitlab ci config

parent d5e06007
Pipeline #1616 passed with stage
in 2 minutes and 49 seconds
image: registry.uninett.no/system/docker-builder:1.13.1-uninett7
development:
stage: deploy
script:
- docker build -t "registry.uninett.no/$CI_PROJECT_PATH:latest" .
- docker push "registry.uninett.no/$CI_PROJECT_PATH:latest"
only:
- master
stable:
stage: deploy
script:
- docker build -t "registry.uninett.no/$CI_PROJECT_PATH:$CI_BUILD_REF_NAME" .
- docker push "registry.uninett.no/$CI_PROJECT_PATH:$CI_BUILD_REF_NAME"
only:
- tags
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