Skip to content
Snippets Groups Projects
Commit 7ea70783 authored by Lennart Kramer's avatar Lennart Kramer
Browse files

use gitlab variables for dockerhub credentials

parent 409e14b6
No related branches found
No related tags found
No related merge requests found
...@@ -19,6 +19,7 @@ else ...@@ -19,6 +19,7 @@ else
fi fi
echo "${IMAGENAME} wurde erfolgreich gebaut." echo "${IMAGENAME} wurde erfolgreich gebaut."
# push the image # push the image
docker login -u mathinstitut -p "$DOCKERHUB_PASS"
docker tag "$IMAGENAME" "$5/$IMAGENAME-dev" docker tag "$IMAGENAME" "$5/$IMAGENAME-dev"
docker push "$5/$IMAGENAME-dev" docker push "$5/$IMAGENAME-dev"
if [ -n "$6" ]; then if [ -n "$6" ]; then
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment