From 1aa98945739062db85c584b00a916590fdb75bcf Mon Sep 17 00:00:00 2001 From: Agent Date: Sat, 21 Mar 2026 14:27:55 +0000 Subject: [PATCH] fix: add unique step names per pipeline --- .drone.yml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/.drone.yml b/.drone.yml index f09882f..e2c17b7 100644 --- a/.drone.yml +++ b/.drone.yml @@ -10,7 +10,7 @@ trigger: - dev steps: - - name: clone + - name: dev-clone image: ccr.ccs.tencentyun.com/violin/git-alpine:latest settings: username: @@ -18,17 +18,17 @@ steps: password: from_secret: git_password - - name: install + - name: dev-install image: node:18-alpine commands: - npm install - - name: build + - name: dev-build image: node:18-alpine commands: - npm run build:h5 - - name: build-image + - name: dev-build-image image: ccr.ccs.tencentyun.com/violin/docker:linux-amd64 settings: repo: ccr.ccs.tencentyun.com/violin/todo-frontend @@ -40,7 +40,7 @@ steps: password: from_secret: registry_password - - name: deploy-to-k8s + - name: dev-deploy image: ccr.ccs.tencentyun.com/violin/kubectl:latest commands: - kubectl set image deployment/todo-frontend todo-frontend=ccr.ccs.tencentyun.com/violin/todo-frontend:${DRONE_COMMIT_SHA} -n drone @@ -62,7 +62,7 @@ trigger: - master steps: - - name: clone + - name: prod-clone image: ccr.ccs.tencentyun.com/violin/git-alpine:latest settings: username: @@ -70,17 +70,17 @@ steps: password: from_secret: git_password - - name: install + - name: prod-install image: node:18-alpine commands: - npm install - - name: build + - name: prod-build image: node:18-alpine commands: - npm run build:h5 - - name: build-image + - name: prod-build-image image: ccr.ccs.tencentyun.com/violin/docker:linux-amd64 settings: repo: ccr.ccs.tencentyun.com/violin/todo-frontend @@ -92,7 +92,7 @@ steps: password: from_secret: registry_password - - name: deploy-to-k8s + - name: prod-deploy image: ccr.ccs.tencentyun.com/violin/kubectl:latest commands: - kubectl set image deployment/todo-frontend todo-frontend=ccr.ccs.tencentyun.com/violin/todo-frontend:${DRONE_COMMIT_SHA} -n drone