Skip to content
Snippets Groups Projects
Commit 257ce00a authored by Zitnik, Anze's avatar Zitnik, Anze
Browse files

Change CI script: build and test all branches

parent 4e52cac5
No related branches found
No related tags found
No related merge requests found
......@@ -16,9 +16,6 @@ build:
stage: build
script:
- docker build --no-cache -t $REGISTRY/medina/$SERVICE:$VERSION .
only:
- develop
- master
test:
stage: test
......@@ -29,9 +26,6 @@ test:
- sleep 5
- bash test/test.sh
- docker stop $SERVICE && docker container rm $SERVICE
only:
- develop
- master
push:
stage: push
......@@ -42,4 +36,4 @@ push:
- docker push $REGISTRY/medina/$SERVICE:latest
- docker logout $REGISTRY
only:
- master
\ No newline at end of file
- master
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