From c34c78fe3bdab2dbfa9ff5dbb8d49a83a2d7c64c Mon Sep 17 00:00:00 2001 From: Jagger Wang Date: Thu, 2 Nov 2023 15:11:22 +0800 Subject: [PATCH] Specify ci runner with version --- .ops/.gitlab-ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.ops/.gitlab-ci.yml b/.ops/.gitlab-ci.yml index 6fd43909..f0de4cb3 100644 --- a/.ops/.gitlab-ci.yml +++ b/.ops/.gitlab-ci.yml @@ -81,7 +81,7 @@ build-frontend-package: build-release-package: stage: build-package tags: - - ubuntu + - ubuntu-22 rules: - if: $CI_COMMIT_BRANCH == "dev" || $CI_COMMIT_BRANCH == "main" changes: @@ -102,7 +102,7 @@ build-release-package: .build-image: stage: build-image tags: - - docker + - docker-20 variables: DOCKER_HOST: tcp://docker:2376 DOCKER_TLS_CERTDIR: "/certs" @@ -168,7 +168,7 @@ build-frontend-image: .deploy: stage: deploy tags: - - kubectl + - kubectl-1-24 before_script: - cd .ops/$ENV - sed -i 's/$APP_NAME/'"$APP_NAME"'/g' $DEPLOYMENT