Update 'check.sh'
All checks were successful
ci/woodpecker/push/build-dev Pipeline was successful

This commit is contained in:
2023-03-23 22:04:04 +01:00
parent 79ef9a5d2d
commit f00364177f

View File

@@ -23,6 +23,20 @@ if [ -z "${TARGET}" ]; then
exit 1
fi
if [ -z "${REGISTRY_USERNAME}" ] && [ -n "${DOCKER_USERNAME}" ]; then
REGISTRY_USERNAME="${DOCKER_USERNAME}"
echo "WARNING: DOCKER_USERNAME is deprecated and will be removed in the next version"
echo "you should switch to using REGISTRY_USERNAME"
echo "see the documentation for more info https://git.narvas.tech/vista/container-update-checker"
fi
if [ -z "${REGISTRY_PASSWORD}" ] && [ -n "${DOCKER_PASSWORD}" ]; then
REGISTRY_PASSWORD="${DOCKER_PASSWORD}"
echo "WARNING: DOCKER_PASSWORD is deprecated and will be removed in the next version"
echo "you should switch to using REGISTRY_PASSWORD"
echo "see the documentation for more info https://git.narvas.tech/vista/container-update-checker"
fi
if [ -z "${BASE_REGISTRY_USERNAME}" ] && [ -n "${REGISTRY_USERNAME}" ]; then
BASE_REGISTRY_USERNAME="${REPO_USERNAME}"
fi