Skip to content
Snippets Groups Projects
Commit 5ff34404 authored by Irina Kera Gundersen's avatar Irina Kera Gundersen
Browse files

Add yaml file

parent 936ef431
No related branches found
No related tags found
2 merge requests!3Merge new master to dev,!2Uc 2
......@@ -6,4 +6,4 @@ ENV GROUPID=${GROUPID}
ENV PORT_PREFIX=${PORT_PREFIX}
# Copy nginx config to the container
COPY nginx.conf /etc/nginx/nginx.conf
\ No newline at end of file
COPY nginx.conf /etc/nginx/nginx.conf
image: docker:latest
services:
- docker:dind
variables:
DOCKER_DRIVER: overlay
stages:
- build
docker-build:
stage: build
script:
- docker build -t registry.gitlab.com/vegarms/tdt4242-base .
- docker login -u gitlab-ci-token -p $CI_BUILD_TOKEN registry.gitlab.com
- docker push registry.gitlab.com/vegarms/tdt4242-base
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