Skip to content
Snippets Groups Projects
Commit 0af59816 authored by Alexander König's avatar Alexander König
Browse files

refactoring of deployment strategy

parent 656bd496
No related branches found
No related tags found
No related merge requests found
File moved
......@@ -2,12 +2,13 @@
set -e
VERSION=${1:-latest}
TYPE=${2:-staging}
docker build -t gitlab.scientificnet.org:4567/commul/dspace/dspace-image:$VERSION . -f Dockerfile.dspace
docker build -t gitlab.scientificnet.org:4567/commul/dspace/nginx-image:$VERSION . -f Dockerfile.nginx
docker build -t gitlab.scientificnet.org:4567/commul/dspace/postgres-image:$VERSION . -f Dockerfile.psql
docker build -t gitlab.inf.unibz.it:4567/commul/docker/dspace/$TYPE/dspace:$VERSION . -f Dockerfile.dspace
docker build -t gitlab.inf.unibz.it:4567/commul/docker/dspace/$TYPE/nginx:$VERSION . -f Dockerfile.nginx
docker build -t gitlab.inf.unibz.it:4567/commul/docker/dspace/$TYPE/postgres:$VERSION . -f Dockerfile.postgres
docker push gitlab.scientificnet.org:4567/commul/dspace/dspace-image:$VERSION
docker push gitlab.scientificnet.org:4567/commul/dspace/nginx-image:$VERSION
docker push gitlab.scientificnet.org:4567/commul/dspace/postgres-image:$VERSION
docker push gitlab.inf.unibz.it:4567/commul/docker/dspace/$TYPE/dspace:$VERSION
docker push gitlab.inf.unibz.it:4567/commul/docker/dspace/$TYPE/nginx:$VERSION
docker push gitlab.inf.unibz.it:4567/commul/docker/dspace/$TYPE/postgres:$VERSION
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