From c4ffc0f5e14bccdb54572e137b054415fc010af2 Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Wed, 22 Apr 2020 09:32:38 +0200 Subject: [PATCH] release.sh: docker build: use --no-cache MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This avoids issues with stale caches. We rather don’t use caching at all: release.sh is only run once per release. --- release.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/release.sh b/release.sh index c581d292..3a2210fb 100755 --- a/release.sh +++ b/release.sh @@ -128,7 +128,7 @@ RUN dpkg-buildpackage -S -sa -j8 EOT CONTAINER_NAME=$(echo "i3-${TMPDIR}" | sed 's,/,,g') -docker build -t i3 . +docker build --no-cache -t i3 . for file in $(docker run --name "${CONTAINER_NAME}" i3 /bin/sh -c "ls /usr/src/i3*_${RELEASE_VERSION}*") do docker cp "${CONTAINER_NAME}:${file}" ${TMPDIR}/debian/