From dcb4e091ec4756de653e5d47e996631a120df37a Mon Sep 17 00:00:00 2001 From: John Graham <jjgraham@ucsd.edu> Date: Thu, 13 Feb 2020 13:40:12 -0800 Subject: [PATCH] Update .gitlab-ci.yml --- .gitlab-ci.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 0547fe0..e316f15 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -5,6 +5,10 @@ stages: build-and-push-job: stage: build-and-push + except: + changes: + - "**/*.yaml" + - "README.md" script: - 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_IMAGE:${CI_COMMIT_SHA:0:8} --destination $CI_REGISTRY_IMAGE:latest \ No newline at end of file -- GitLab