From 2eafdd8da936d6c28813ce9fd3c72ba5a35670e4 Mon Sep 17 00:00:00 2001 From: iVamp Date: Tue, 24 Oct 2023 20:36:47 +0800 Subject: [PATCH] =?UTF-8?q?CI=20=E6=B5=8B=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitlab-ci.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 857a061..e4c74d8 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,6 +1,8 @@ build-js: image: node:20 stage: build + tags: + - docker script: - npm config set registry https://registry.npm.taobao.org/ - npm install @@ -11,6 +13,8 @@ build-js: docker-build: image: docker:latest stage: build + tags: + - docker before_script: - docker login "$DOCKER_REGISTRY" -u "$DOCKER_USER" -p "$DOCKER_PASSWORD" script: