From 0d6302716b4a820ba0bb668616839d9769a2df68 Mon Sep 17 00:00:00 2001 From: mandibles232 Date: Fri, 20 Oct 2023 14:07:35 -0400 Subject: [PATCH] Update docker-build.sh --- scripts/docker-build.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/docker-build.sh b/scripts/docker-build.sh index 244c11d79..026babb39 100755 --- a/scripts/docker-build.sh +++ b/scripts/docker-build.sh @@ -42,4 +42,6 @@ docker buildx create "${PLATFORM[@]}" --name terrascan-builder --use docker buildx build --provenance=false "${OUTPUT_TYPE}" "${PLATFORM[@]}" -t "${DOCKER_REPO}:${LABEL}" -f "${DOCKERFILE}" . +cat "${LABEL}" > dockerhub-image-name.txt + docker buildx rm terrascan-builder