From 4aff68be93aa05f146211f19b9b86629a1a2120c Mon Sep 17 00:00:00 2001 From: kjuulh Date: Sun, 21 Aug 2022 16:45:28 +0200 Subject: [PATCH] remember to pull before --- scripts/build_release.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/build_release.sh b/scripts/build_release.sh index ba974c4..24ba872 100755 --- a/scripts/build_release.sh +++ b/scripts/build_release.sh @@ -16,6 +16,7 @@ then fi docker login -u $DOCKER_USERNAME -p $DOCKER_PASSWORD +docker pull "$latest_tag" DOCKER_BUILDKIT=1 docker build --cache-from "$latest_tag" -t "$tag" -f "$TMP/build_release.Dockerfile" . docker tag "$tag" "$latest_tag"