build-setup.sh: remove ARCH from container name
We removed the architecture check a while ago. Remove it from the
container name so we stop getting weird names like
openbmc/ubuntu:latest-p10bmc-
Tested:
- Confirmed we now get openbmc/ubuntu:latest-p10bmc for a container name
Change-Id: Ib0414d46f128af714e0a339292da8086180f0117
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
diff --git a/build-setup.sh b/build-setup.sh
index 67d42bb..d0b0431 100755
--- a/build-setup.sh
+++ b/build-setup.sh
@@ -39,7 +39,7 @@
# need to also update DOCKER_REG to a supported fedora reg.
# Default: "ubuntu"
# img_name The name given to the target build's docker image.
-# Default: "openbmc/${distro}:${imgtag}-${target}-${ARCH}"
+# Default: "openbmc/${distro}:${imgtag}-${target}"
# img_tag The base docker image distro tag:
# ubuntu: latest|16.04|14.04|trusty|xenial
# fedora: 23|24|25
@@ -387,7 +387,7 @@
chmod a+x "${WORKSPACE}/build.sh"
# Give the Docker image a name based on the distro,tag,arch,and target
-img_name=${img_name:-openbmc/${distro}:${img_tag}-${target}-${ARCH}}
+img_name=${img_name:-openbmc/${distro}:${img_tag}-${target}}
# Ensure appropriate docker build output to see progress and identify
# any issues