summaryrefslogtreecommitdiffstats
path: root/packaging/docker
diff options
context:
space:
mode:
authorAustin S. Hemmelgarn <austin@netdata.cloud>2019-12-13 07:37:02 -0500
committerGitHub <noreply@github.com>2019-12-13 07:37:02 -0500
commit2412ad1f45d4ecb18acc9b0a4650cb772add761b (patch)
treed7aaeadec818d6dbc5136dcb91d5e13de28f14ee /packaging/docker
parente36e7496cba95142aeb46047d220a132cfca662a (diff)
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.
Diffstat (limited to 'packaging/docker')
-rwxr-xr-xpackaging/docker/build.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/packaging/docker/build.sh b/packaging/docker/build.sh
index 456114b318..d478945feb 100755
--- a/packaging/docker/build.sh
+++ b/packaging/docker/build.sh
@@ -60,7 +60,7 @@ docker run --rm --privileged multiarch/qemu-user-static:register --reset
# Build images using multi-arch Dockerfile.
for ARCH in ${ARCHS[@]}; do
- TAG="${REPOSITORY}:${VERSION}-${ARCH}"
+ TAG="${REPOSITORY,,}:${VERSION}-${ARCH}"
echo "Building tag ${TAG}.."
eval docker build --no-cache \
--build-arg ARCH="${ARCH}" \