removed kaniko caching
This commit is contained in:
@@ -73,9 +73,6 @@ if [ ! -d "${BUILD_CONTEXT}" ]; then
|
||||
BUILD_CONTEXT="/workspace"
|
||||
fi
|
||||
|
||||
KANIKO_CACHE_REPO="${KANIKO_CACHE_REPO:-${REGISTRY_URL}/kaniko-cache}"
|
||||
KANIKO_CACHE_TTL="${KANIKO_CACHE_TTL:-336h}"
|
||||
|
||||
/kaniko/executor \
|
||||
--context "${BUILD_CONTEXT}" \
|
||||
--dockerfile "${NOTIFICATION_DOCKERFILE}" \
|
||||
@@ -85,8 +82,4 @@ KANIKO_CACHE_TTL="${KANIKO_CACHE_TTL:-336h}"
|
||||
--build-arg BUILD_BRANCH="${BUILD_BRANCH}" \
|
||||
--build-arg BUILD_DATE="${BUILD_DATE}" \
|
||||
--build-arg BUILD_USER="${BUILD_USER}" \
|
||||
--cache=true \
|
||||
--cache-copy-layers \
|
||||
--cache-run-layers \
|
||||
--cache-repo "${KANIKO_CACHE_REPO}" \
|
||||
--cache-ttl "${KANIKO_CACHE_TTL}"
|
||||
--single-snapshot
|
||||
|
||||
Reference in New Issue
Block a user