From 78761eb37e150f10d65c619c5b82a0dd4b96e4a6 Mon Sep 17 00:00:00 2001 From: Tom Broughton Date: Fri, 27 Oct 2023 13:01:56 +0100 Subject: [PATCH] don't cache the docker build --- image-build-upload.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/image-build-upload.sh b/image-build-upload.sh index f6f125a..909220d 100755 --- a/image-build-upload.sh +++ b/image-build-upload.sh @@ -46,7 +46,7 @@ if [ "${REQ_UPLOAD}" == "0" ]; then fi echo "Local ${REPO_NAME}:${IMAGE_VERSION} does not exist, building..." -docker build -t ${REPO_NAME}:${IMAGE_VERSION} . +docker build -t ${REPO_NAME}:${IMAGE_VERSION} . --no-cache #upload the image into ECR