From ddd43f4de7d1ecdf4d1daa668512d084553eadb6 Mon Sep 17 00:00:00 2001 From: Sonja Happ Date: Thu, 21 Jan 2021 15:34:18 +0100 Subject: [PATCH] CI: disable kaniko cache, --- .gitlab-ci.yml | 2 -- configuration/config.go | 4 ++-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 6104cd0..990e2ca 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -108,7 +108,5 @@ deploy: --dockerfile ${CI_PROJECT_DIR}/Dockerfile --destination ${DOCKER_IMAGE}:${DOCKER_TAG} --snapshotMode=redo - --cache=true - --cache-ttl=12h dependencies: - test diff --git a/configuration/config.go b/configuration/config.go index 1da3044..54ef502 100644 --- a/configuration/config.go +++ b/configuration/config.go @@ -83,13 +83,13 @@ func InitConfig() error { "s3.region": *s3Region, } - if *s3NoSSL { + if *s3NoSSL == true { static["s3.nossl"] = "true" } else { static["s3.nossl"] = "false" } - if *s3PathStyle { + if *s3PathStyle == true { static["s3.pathstyle"] = "true" } else { static["s3.pathstyle"] = "false"