From 8d7a9977977236512f8e620be3e003ffc6c1b855 Mon Sep 17 00:00:00 2001 From: Leopold Jacquot Date: Sun, 17 Nov 2024 19:47:45 +0100 Subject: [PATCH] ci: invalidate nginx cache on deploy Changelog: changed --- .gitlab-ci.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 8f3634b144..ca6aef5cc9 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -210,8 +210,8 @@ build:front: # when: always # Build front using kaniko and store the image in the gitlab registry -build:image: - stage: build +deploy:image: + stage: deploy image: name: gcr.io/kaniko-project/executor:${KANIKO_VERSION} entrypoint: [""] @@ -219,8 +219,7 @@ build:image: - kubernetes rules: - if: *if-tag - when: manual - allow_failure: false + when: on_success - when: never before_script: - *script-configure-kaniko