ci: disable rebar cache in build script
This commit is contained in:
parent
58984bb6cf
commit
1ed47c82a4
8
build
8
build
|
@ -467,14 +467,6 @@ make_docker() {
|
||||||
if [ "${DOCKER_PUSH:-false}" = true ]; then
|
if [ "${DOCKER_PUSH:-false}" = true ]; then
|
||||||
DOCKER_BUILDX_ARGS+=(--push)
|
DOCKER_BUILDX_ARGS+=(--push)
|
||||||
fi
|
fi
|
||||||
if [ -d "${REBAR_GIT_CACHE_DIR:-}" ]; then
|
|
||||||
cache_tar="$(pwd)/rebar-git-cache.tar"
|
|
||||||
if [ ! -f "${cache_tar}" ]; then
|
|
||||||
pushd "${REBAR_GIT_CACHE_DIR}" >/dev/null
|
|
||||||
tar -cf "${cache_tar}" .
|
|
||||||
popd >/dev/null
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
if [ -n "${DEBUG:-}" ]; then
|
if [ -n "${DEBUG:-}" ]; then
|
||||||
DOCKER_BUILDX_ARGS+=(--build-arg DEBUG="${DEBUG}" --progress=plain)
|
DOCKER_BUILDX_ARGS+=(--build-arg DEBUG="${DEBUG}" --progress=plain)
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue