Skip to content
Snippets Groups Projects
Commit 2cfebc34 authored by s87777's avatar s87777
Browse files

Build New Image

parent aa14acc0
No related branches found
No related tags found
No related merge requests found
Pipeline #50249 failed
......@@ -5,6 +5,15 @@ services:
stages:
- test
build-job:
stage: test
script:
- echo $CI_REGISTRY_PASSWORD | docker login $CI_REGISTRY -u $CI_REGISTRY_USER --password-stdin
- docker build -t registry.bht-berlin.de:443/s87777/profwebfrontend:latest .
- docker push registry.bht-berlin.de:443/s87777/profwebfrontend
tags:
- docker-privileged
test-job:
stage: test
image: node:latest
......@@ -34,5 +43,7 @@ test-job:
- echo "starting tests"
- npm test
- echo "tests done"
dependencies:
- build-job
tags:
- docker-privileged
\ No newline at end of file
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