Verified Commit c345b6a9 authored by Dennis Schubert's avatar Dennis Schubert
Browse files

Add CI config.

parent 666bda99
Pipeline #491 failed with stage
in 38 seconds
image: docker:latest
services:
- docker:dind
before_script:
- docker login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" $CI_REGISTRY
build-backend:
stage: build
script:
- docker build --pull -f _deployment/Dockerfile.node -t "$CI_REGISTRY_IMAGE/backend" .
- docker push "$CI_REGISTRY_IMAGE/backend"
only:
- main
build-nginx:
stage: build
script:
- docker build --pull -f _deployment/Dockerfile.nginx -t "$CI_REGISTRY_IMAGE/nginx" .
- docker push "$CI_REGISTRY_IMAGE/nginx"
only:
- main
Supports Markdown
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