diff options
Diffstat (limited to '.github/scripts/get-static-cache-key.sh')
-rwxr-xr-x | .github/scripts/get-static-cache-key.sh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/.github/scripts/get-static-cache-key.sh b/.github/scripts/get-static-cache-key.sh index 3b07088f4..5093b3327 100755 --- a/.github/scripts/get-static-cache-key.sh +++ b/.github/scripts/get-static-cache-key.sh @@ -2,13 +2,14 @@ arch="${1}" platform="$(packaging/makeself/uname2platform.sh "${arch}")" +builder_rev="v1" -docker pull --platform "${platform}" netdata/static-builder +docker pull --platform "${platform}" netdata/static-builder:${builder_rev} # shellcheck disable=SC2046 cat $(find packaging/makeself/jobs -type f ! -regex '.*\(netdata\|-makeself\).*') > /tmp/static-cache-key-data -docker run -it --rm --platform "${platform}" netdata/static-builder sh -c 'apk list -I 2>/dev/null' >> /tmp/static-cache-key-data +docker run -it --rm --platform "${platform}" netdata/static-builder:${builder_rev} sh -c 'apk list -I 2>/dev/null' >> /tmp/static-cache-key-data h="$(sha256sum /tmp/static-cache-key-data | cut -f 1 -d ' ')" |