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

added a release script to build and push the dockerfiles

parent 4f68e1e8
No related branches found
No related tags found
No related merge requests found
#!/bin/bash
set -e
VERSION=${1:-latest}
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 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
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