@cryptotaxi247 / netdata-1 / commits / 2412ad1f4

Force repository name in tag to be lowercase. (#7506)

Docker requires that tags be all lowercase. This has not previously been an issue, but causes build failures for people with Netdata forks who have upercase characters in their GitHub username.

Austin S. Hemmelgarn committed Dec 13, 2019 at 07:37 UTC 2412ad1f45d4ecb18acc9b0a4650cb772add761b
1 file changed +1 -1
packaging/docker/build.sh
+1 -1
@@ -60,7 +60,7 @@ docker run --rm --privileged multiarch/qemu-user-static:register --reset
60
61 # Build images using multi-arch Dockerfile.
62 for ARCH in ${ARCHS[@]}; do
63 - TAG="${REPOSITORY}:${VERSION}-${ARCH}"
63 + TAG="${REPOSITORY,,}:${VERSION}-${ARCH}"
64 echo "Building tag ${TAG}.."
65 eval docker build --no-cache \
66 --build-arg ARCH="${ARCH}" \