echo "Enter your Gitlab API Token:"
read -s gitlab_key
echo "Enter your SMTP Password:"
read -s smtp_pass
docker run --rm -t \
-e API_TOKEN="$gitlab_key" \
-e GITLAB_URL="http://your.gitlab.url" \
-e SMTP_SERVER="smtp://your.smtp.server:port" \
-e SMTP_USER="<your_user_name>" \
-e SMTP_PASSWORD="$smtp_pass" \
-e SMTP_FROM="[email protected]" \
-e RECEIVER="[email protected]" \
cschlosser/gitlab-version-check
cschlosser / gitlab-version-check Goto Github PK
View Code? Open in Web Editor NEWCheck the version of your GitLab instance and send a mail if out of date.
Home Page: https://hub.docker.com/r/cschlosser/gitlab-version-check
License: GNU General Public License v2.0