From f3c50a20139a5fc270d1c2f50bad938668aa8068 Mon Sep 17 00:00:00 2001 From: Dominik Kaminski <dominik.kaminski.extern@zendis.de> Date: Fri, 20 Dec 2024 14:51:50 +0100 Subject: [PATCH] ci(gitlab): Use external nameserver to resolve --- .gitlab-ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 18c84ed..3734c17 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -98,12 +98,12 @@ update_clamav_db: - git config --global user.name "openDesk ClamAV DB Mirror" # Ensure database files are using Git LFS - - git lfs track "*.cvd" "*.ndb" "*.cdb" "*.hdb" "*.hsb" "*.ldb" + - git lfs track "*.cvd" "*.ndb" "*.cdb" "*.hdb" "*.hsb" "*.ldb" "*.cdiff - git add .gitattributes # Check if there are any changes, add, commit, and push if needed - if ! [[ `git status --porcelain` ]]; then exit; fi - - git add *.cvd *.ndb *.cdb *.hdb *.hsb *.ldb + - git add *.cvd *.ndb *.cdb *.hdb *.hsb *.ldb *.cdiff - git commit -m "Update ClamAV database files on $(date)" - git push https://gitlab-ci-token:${CI_PUSH_TOKEN}@${CI_SERVER_HOST}/${CI_PROJECT_PATH}.git HEAD:${CI_COMMIT_REF_NAME} -- GitLab