From 988a1e5bab5103dd494acd7357548363ea7e89ce Mon Sep 17 00:00:00 2001 From: Maxime Alves LIRMM Date: Mon, 14 Mar 2022 15:24:57 +0100 Subject: [PATCH] [ci/cd] fix kaniko call --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 4c40f5e..61ff4b6 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -72,7 +72,7 @@ build_container: script: - echo "Will upload image halfapi:\"$IMGTAG\"" - echo "{\"auths\":{\"$CI_REGISTRY\":{\"username\":\"$CI_REGISTRY_USER\",\"password\":\"$CI_REGISTRY_PASSWORD\"}}}" > /kaniko/.docker/config.json - - /kaniko/executor --context $CI_PROJECT_DIR --dockerfile $CI_PROJECT_DIR/Dockerfile --destination $CI_REGISTRY/malves/halfapi:"$IMGTAG" + - /kaniko/executor --force --context $CI_PROJECT_DIR --dockerfile $CI_PROJECT_DIR/Dockerfile --destination $CI_REGISTRY/malves/halfapi:"$IMGTAG" artifacts: paths: - /kaniko/.docker/config.json