don't cache the docker build

This commit is contained in:
Tom Broughton 2023-10-27 13:01:56 +01:00
parent b2e60189bd
commit 78761eb37e

View file

@ -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