Check the version of your GitLab instance and send a mail if out of date.
916
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
Content type
Image
Digest
Size
31.9 MB
Last updated
over 5 years ago
docker pull cschlosser/gitlab-version-check