Skip to content
Snippets Groups Projects
Commit a58b8b37 authored by Hartung, Michael's avatar Hartung, Michael
Browse files

remove deploy scripts

Former-commit-id: 39b3c48cc48898c3880f98ff74c886d04af215c4 [formerly e5cbbd4c4d006f3eda208fe9f14d4defedefde44]
Former-commit-id: 6ad5478d907ab0f43e17ed4317068bce4c767335
parent ed88e0a4
No related branches found
No related tags found
No related merge requests found
docker build -t gitlab.rrz.uni-hamburg.de:4567/groups/cosy-bio/drugst.one/backend:dev -f ./Dockerfile .
docker push gitlab.rrz.uni-hamburg.de:4567/groups/cosy-bio/drugst.one/backend:dev
\ No newline at end of file
#!/bin/bash
branch=$(git rev-parse --abbrev-ref HEAD)
if [ "$branch" == "production" ]; then
docker build -t gitlab.rrz.uni-hamburg.de:4567/cosy-bio/drugst.one/backend:prod -f ./Dockerfile .
docker push gitlab.rrz.uni-hamburg.de:4567/cosy-bio/drugst.one/backend:prod
else
echo "DENIED: Your are not in the production branch. Do not push to production from the ${branch} branch."
fi
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